summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tlv320aic23b.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-04 08:03:48 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-04 08:03:48 -0300
commit4a782628ed2966858fcf5acac0b890dea02c5b11 (patch)
treeb97dae342e90964b33f84c4f9ed996179ab97592 /linux/drivers/media/video/tlv320aic23b.c
parent2dfcd826496c586960e88da243e0a42c0ca322b8 (diff)
downloadmediapointer-dvb-s2-4a782628ed2966858fcf5acac0b890dea02c5b11.tar.gz
mediapointer-dvb-s2-4a782628ed2966858fcf5acac0b890dea02c5b11.tar.bz2
mt9v011: properly calculate image resolution registers
From: Mauro Carvalho Chehab <mchehab@redhat.com> Instead of working with a table of precalculated values, fill them with the proper values. Also, adds format functions that allow changing the resolution, by cropping the image to the center of the sensor. While here, move the sensor version check to the probe routine, to indicate to the caller if the sensor is not supported by this driver. Also, fixes a stupid bug where we're using &buffer[] instead of buffer[]. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/tlv320aic23b.c')
0 files changed, 0 insertions, 0 deletions