android_kernel_motorola_sm6225/drivers/media
Anatolij Gustschin 9bb047cd1a [media] mt9v022: fix the V4L2_CID_EXPOSURE control
Since the MT9V022_TOTAL_SHUTTER_WIDTH register is controlled in manual
mode by V4L2_CID_EXPOSURE control, it shouldn't be written directly in
mt9v022_s_crop(). In manual mode this register should be set to the
V4L2_CID_EXPOSURE control value. Changing this register directly and
outside of the actual control function means that the register value
is not in sync with the corresponding control value. Thus, the following
problem is observed:
    - setting this control initially succeeds
    - VIDIOC_S_CROP ioctl() overwrites the MT9V022_TOTAL_SHUTTER_WIDTH
      register
    - setting this control to the same value again doesn't
      result in setting the register since the control value
      was previously cached and doesn't differ
Remove MT9V022_TOTAL_SHUTTER_WIDTH register setting in mt9v022_s_crop()
and add a comment explaining why it is not needed in manual mode.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-22 10:59:49 -02:00
..
common [media] v4l2: make vidioc_s_fbuf const 2012-09-26 10:42:36 -03:00
dvb-core Merge branch 'staging/for_v3.7' into v4l_for_linus 2012-10-11 15:07:19 -03:00
dvb-frontends [media] dvb-frontends: fix potential NULL pointer dereference in stv0900_set_mclk() 2012-10-25 16:20:26 -02:00
firewire [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
i2c [media] mt9v022: fix the V4L2_CID_EXPOSURE control 2012-11-22 10:59:49 -02:00
mmc [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-10-12 12:39:17 +09:00
platform [media] mx2_camera: fix missing unlock on error in mx2_start_streaming() 2012-11-22 10:58:27 -02:00
radio [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
rc [media] rc-msi-digivox-ii: Add full scan keycodes 2012-10-07 09:57:34 -03:00
tuners [media] tda18271-common: hold the I2C adapter during write transfers 2012-10-07 09:43:01 -03:00
usb [media] dvb_usb_v2: switch interruptible mutex to normal 2012-11-09 15:33:58 +01:00
v4l2-core Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-10-12 12:39:17 +09:00
Kconfig [media] Kconfig: Fix dependencies for driver autoselect options 2012-10-17 16:45:56 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c [media] media-devnode: Replace printk with pr_* 2012-09-27 14:19:23 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00