diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-04 08:03:48 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-05 14:30:04 -0300 |
commit | 27fe4a30a211a0561c72b0e519997e91fa91c452 (patch) | |
tree | 33d8c55054816a366b99ec2df3c5bcc19917b3ec /drivers/xen/evtchn.c | |
parent | fbe2800c932573e90e38a9c703165839e0c00515 (diff) |
V4L/DVB (12173): mt9v011: properly calculate image resolution registers
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 'drivers/xen/evtchn.c')
0 files changed, 0 insertions, 0 deletions