summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-12-10 08:02:13 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 09:44:03 (GMT)
commit4545bfa00a010b619a596b3893be820935c01bb7 (patch)
treeaa0ca293199b31c1a1a6fef5fecc41c814e503d1
parenta6bc25abc89a72a8533dbb912a4116a8349b9d8c (diff)
downloadlinux-fsl-qoriq-4545bfa00a010b619a596b3893be820935c01bb7.tar.xz
sh: add ov772x reset delay on Migo-R
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>
-rw-r--r--arch/sh/boards/mach-migor/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index 03d2dea..38c34c1 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -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)