sh: add ov772x reset delay on Migo-R
authorMagnus Damm <damm@igel.co.jp>
Wed, 10 Dec 2008 08:02:13 +0000 (17:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:44:03 +0000 (18:44 +0900)
Add reset delay for the ov772x device on Migo-R.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-migor/setup.c

index 03d2dea05dabe977e131de2434569e420f6407cf..38c34c1f8abed6ccdcbe0e2d12b5844dbc00318f 100644 (file)
@@ -301,6 +301,7 @@ static void camera_power_on(void)
        gpio_set_value(GPIO_PTT3, 0);
        mdelay(10);
        gpio_set_value(GPIO_PTT3, 1);
+       mdelay(10); /* wait to let chip come out of reset */
 }
 
 static void camera_power_off(void)