Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72e9622c authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Eric Miao
Browse files

[ARM] pxa/pcm990: use negative number for an invalid GPIO in camera data



0 is a valid GPIO number, use a negative number to specify, that this camera
doesn't have a GPIO for bus-width switching.

Signed-off-by: default avatarGuennadi Liakhovetski <lg@denx.de>
Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
parent 844c6f6a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -385,6 +385,7 @@ static struct soc_camera_link iclink[] = {
		.gpio	= NR_BUILTIN_GPIO + 1,
		.gpio	= NR_BUILTIN_GPIO + 1,
	}, {
	}, {
		.bus_id	= 0, /* Must match with the camera ID above */
		.bus_id	= 0, /* Must match with the camera ID above */
		.gpio	= -ENXIO,
	}
	}
};
};