1
0
Fork 0
alistair23-linux/drivers/media/i2c
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
..
cx25840 [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
m5mols [media] m5mols: Add missing #include <linux/sizes.h> 2012-10-10 08:17:16 -03:00
smiapp [media] smiapp: Provide module identification information through sysfs 2012-09-26 17:43:54 -03:00
soc_camera [media] mt9v022: fix the V4L2_CID_EXPOSURE control 2012-11-22 10:59:49 -02:00
Kconfig [media] Add v4l2 subdev driver for S5K4ECGX sensor 2012-09-26 17:32:54 -03:00
Makefile [media] Add v4l2 subdev driver for S5K4ECGX sensor 2012-09-26 17:32:54 -03:00
ad9389b.c [media] ad9389b: driver for the Analog Devices AD9389B video encoder 2012-09-13 16:15:36 -03:00
adp1653.c
adv7170.c
adv7175.c
adv7180.c
adv7183.c
adv7183_regs.h
adv7343.c
adv7343_regs.h
adv7393.c
adv7393_regs.h
adv7604.c [media] adv7604: restart STDI once if format is not found 2012-11-21 18:12:20 -02:00
ak881x.c
aptina-pll.c
aptina-pll.h
as3645a.c
bt819.c
bt856.c
bt866.c
btcx-risc.c
btcx-risc.h
cs53l32a.c
cs5345.c
cx2341x.c
ir-kbd-i2c.c
ks0127.c [media] ks0127: convert struct i2c_msg initialization to C99 format 2012-09-27 07:38:40 -03:00
ks0127.h
m52790.c
msp3400-driver.c [media] msp3400: convert struct i2c_msg initialization to C99 format 2012-09-27 07:39:31 -03:00
msp3400-driver.h
msp3400-kthreads.c
mt9m032.c [media] mt9m032.c: introduce missing initialization 2012-09-14 11:10:59 -03:00
mt9p031.c [media] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control 2012-10-05 21:49:32 -03:00
mt9t001.c [media] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control 2012-10-05 21:49:32 -03:00
mt9v011.c
mt9v032.c [media] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control 2012-10-05 21:49:32 -03:00
noon010pc30.c
ov7670.c
s5k4ecgx.c [media] Add v4l2 subdev driver for S5K4ECGX sensor 2012-09-26 17:32:54 -03:00
s5k6aa.c [media] s5k6aa: Fix possible NULL pointer dereference 2012-10-02 14:01:30 -03:00
saa711x_regs.h
saa717x.c
saa6588.c
saa7110.c
saa7115.c [media] sliced vbi: subdevs shouldn't clear the full v4l2_sliced_vbi_format struct 2012-10-01 17:12:51 -03:00
saa7127.c [media] sliced vbi: subdevs shouldn't clear the full v4l2_sliced_vbi_format struct 2012-10-01 17:12:51 -03:00
saa7185.c
saa7191.c
saa7191.h
smiapp-pll.c
smiapp-pll.h
sr030pc30.c
tcm825x.c
tcm825x.h
tda7432.c
tda9840.c
tea6415c.c [media] drivers/media/i2c/tea6415c.c: removes unnecessary semicolon 2012-09-23 17:04:38 -03:00
tea6415c.h
tea6420.c
tea6420.h
ths7303.c [media] ths7303: enable THS7303 for HD modes 2012-10-05 14:27:47 -03:00
tlv320aic23b.c
tvaudio.c [media] tvaudio: convert struct i2c_msg initialization to C99 format 2012-09-27 07:38:49 -03:00
tveeprom.c
tvp514x.c [media] tvp514x: s_routing should just change routing, not try to detect a signal 2012-10-05 22:10:38 -03:00
tvp514x_regs.h
tvp5150.c [media] sliced vbi: subdevs shouldn't clear the full v4l2_sliced_vbi_format struct 2012-10-01 17:12:51 -03:00
tvp5150_reg.h
tvp7002.c
tvp7002_reg.h
upd64031a.c
upd64083.c
vp27smpx.c
vpx3220.c
vs6624.c
vs6624_regs.h
wm8739.c
wm8775.c