diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2010-02-02 13:17:54 +0900 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-19 03:19:01 -0200 |
commit | 2b59125b1b5f8c9bb0524b8a0bdad4b780a239ac (patch) | |
tree | 9a71ebc6c382bb06a325081e33bb9a5046d24bdd /drivers | |
parent | fc4a7f93087a48619005111895dcaa115f807399 (diff) | |
download | linux-2b59125b1b5f8c9bb0524b8a0bdad4b780a239ac.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/mt9t112.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c index fc4dd6045720..7438f8d775ba 100644 --- a/drivers/media/video/mt9t112.c +++ b/drivers/media/video/mt9t112.c @@ -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); |