alistair23-linux/drivers/media/i2c/soc_camera
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
..
imx074.c [media] soc-camera: Push probe-time power management to drivers 2012-08-15 17:04:42 -03:00
Kconfig [media] mt9v022: Add support for mt9v024 2012-08-15 20:04:08 -03:00
Makefile
mt9m001.c [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
mt9m111.c [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
mt9t031.c [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
mt9t112.c [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
mt9v022.c [media] mt9v022: fix the V4L2_CID_EXPOSURE control 2012-11-22 10:59:49 -02:00
ov772x.c [media] ov772x: Stop sensor readout right after reset 2012-08-15 17:12:38 -03:00
ov2640.c [media] ov2640: select sensor register bank before applying h/v-flip settings 2012-10-06 09:21:27 -03:00
ov5642.c [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
ov6650.c [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
ov9640.c [media] soc-camera: Push probe-time power management to drivers 2012-08-15 17:04:42 -03:00
ov9640.h
ov9740.c [media] soc-camera: Push probe-time power management to drivers 2012-08-15 17:04:42 -03:00
rj54n1cb0c.c [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
tw9910.c [media] soc-camera: Push probe-time power management to drivers 2012-08-15 17:04:42 -03:00