Skip to content

Commit

Permalink
soc-camera: mt9t112: modify exiting conditions from standby mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Mauro Carvalho Chehab committed Feb 19, 2010
1 parent fc4a7f9 commit 2b59125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/mt9t112.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ static int mt9t112_init_pll(const struct i2c_client *client)
/* poll to verify out of standby. Must Poll this bit */
for (i = 0; i < 100; i++) {
mt9t112_reg_read(data, client, 0x0018);
if (0x4000 & data)
if (!(0x4000 & data))
break;

mdelay(10);
Expand Down

0 comments on commit 2b59125

Please sign in to comment.