sh: mach-ap325rxa: Add SOCAM_DATA_ACTIVE_HIGH flags for soc-camera
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Tue, 8 Dec 2009 00:18:20 +0000 (00:18 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 Dec 2009 03:40:47 +0000 (12:40 +0900)
Current soc-camera needs SOCAM_DATA_ACTIVE_xxx flags for use.
We can not open old ncm03j camera device without this patch.

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-ap325rxa/setup.c

index cf9dc12dfeb153d78ccd2ff2bcdcbfb8b5fe7804..4b4320b0b481ab2c70d6d96988b7535b52bfa4b5 100644 (file)
@@ -322,7 +322,8 @@ static struct soc_camera_platform_info camera_info = {
                .height = 480,
        },
        .bus_param = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH |
-       SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8,
+       SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8 |
+       SOCAM_DATA_ACTIVE_HIGH,
        .set_capture = camera_set_capture,
        .link = {
                .bus_id         = 0,