mirror of https://gitee.com/openkylin/linux.git
9bb047cd1a
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> |
||
---|---|---|
.. | ||
cx25840 | ||
m5mols | ||
smiapp | ||
soc_camera | ||
Kconfig | ||
Makefile | ||
ad9389b.c | ||
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 | ||
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 | ||
ks0127.h | ||
m52790.c | ||
msp3400-driver.c | ||
msp3400-driver.h | ||
msp3400-kthreads.c | ||
mt9m032.c | ||
mt9p031.c | ||
mt9t001.c | ||
mt9v011.c | ||
mt9v032.c | ||
noon010pc30.c | ||
ov7670.c | ||
s5k4ecgx.c | ||
s5k6aa.c | ||
saa711x_regs.h | ||
saa717x.c | ||
saa6588.c | ||
saa7110.c | ||
saa7115.c | ||
saa7127.c | ||
saa7185.c | ||
saa7191.c | ||
saa7191.h | ||
smiapp-pll.c | ||
smiapp-pll.h | ||
sr030pc30.c | ||
tcm825x.c | ||
tcm825x.h | ||
tda7432.c | ||
tda9840.c | ||
tea6415c.c | ||
tea6415c.h | ||
tea6420.c | ||
tea6420.h | ||
ths7303.c | ||
tlv320aic23b.c | ||
tvaudio.c | ||
tveeprom.c | ||
tvp514x.c | ||
tvp514x_regs.h | ||
tvp5150.c | ||
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 |