You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
soc-camera: mt9t112: modify exiting conditions from standby mode
This polling is needed if camera is in standby mode, but current exiting condition is inverted. Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
fc4a7f9308
commit
2b59125b1b
@@ -514,7 +514,7 @@ static int mt9t112_init_pll(const struct i2c_client *client)
|
|||||||
/* poll to verify out of standby. Must Poll this bit */
|
/* poll to verify out of standby. Must Poll this bit */
|
||||||
for (i = 0; i < 100; i++) {
|
for (i = 0; i < 100; i++) {
|
||||||
mt9t112_reg_read(data, client, 0x0018);
|
mt9t112_reg_read(data, client, 0x0018);
|
||||||
if (0x4000 & data)
|
if (!(0x4000 & data))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
mdelay(10);
|
mdelay(10);
|
||||||
|
|||||||
Reference in New Issue
Block a user