[media] sh: convert ap325rxa to mediabus flags
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 27 Jul 2011 13:52:36 +0000 (10:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:27:38 +0000 (18:27 -0200)
Prepare the board to switch to the new subdevice media-bus configuration
operations.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
arch/sh/boards/mach-ap325rxa/setup.c

index d36265758911faced2e4df8f2d13fa1ab30c816b..93a9f5dc59187f171b11c6445347add761e22b21 100644 (file)
@@ -348,6 +348,10 @@ static struct soc_camera_platform_info camera_info = {
        .bus_param = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH |
        SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8 |
        SOCAM_DATA_ACTIVE_HIGH,
+       .mbus_param = V4L2_MBUS_PCLK_SAMPLE_RISING | V4L2_MBUS_MASTER |
+       V4L2_MBUS_VSYNC_ACTIVE_HIGH | V4L2_MBUS_HSYNC_ACTIVE_HIGH |
+       V4L2_MBUS_DATA_ACTIVE_HIGH,
+       .mbus_type = V4L2_MBUS_PARALLEL,
        .set_capture = camera_set_capture,
 };