[media] ARM: ap4evb: switch imx074 configuration to default number of lanes
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 26 Jul 2011 15:49:13 +0000 (12:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:27:29 +0000 (18:27 -0200)
The sh_mobile_csi2 driver will change meaning of the .lanes platform
data field from "bitmask of used lanes" to "number of used lanes."
To avoid a regression during this transition switch ap4evb to rely
on the 2 lane default.

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/arm/mach-shmobile/board-ap4evb.c

index 5b7edadf46475e72b63c58d9f7196c1d378451bd..f9f66c20c9f19224952c43ca06f4883fb6b8f139 100644 (file)
@@ -933,7 +933,7 @@ static struct platform_device ap4evb_camera = {
 static struct sh_csi2_client_config csi2_clients[] = {
        {
                .phy            = SH_CSI2_PHY_MAIN,
-               .lanes          = 3,
+               .lanes          = 0,            /* default: 2 lanes */
                .channel        = 0,
                .pdev           = &ap4evb_camera,
        },