Skip to contentSkip to conversation

sh: add ov772x reset delay on Migo-R

PATCH In review Magnus Damm 2 participants 2 messages Dec 10, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: add ov772x reset delay on Migo-R

From: Magnus Damm <[email protected]>

Add reset delay for the ov772x device on Migo-R.

---

Applies on top of Morimoto-sans ov772x patches.

 arch/sh/boards/mach-migor/setup.c |    1 +
 1 file changed, 1 insertion(+)
arch/sh/boards/mach-migor/setup.c +1 -0
@@ -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)