summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-03 15:32:11 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-03 15:32:11 -0200
commit81755eaa892b63b3357fca8123471febe60b9f66 (patch)
treece5d50050a8b1e44ac91d36e13001751df61c3d6 /linux
parentfd418b6a655b77600b58eca51b4e373e03bf6e26 (diff)
downloadmediapointer-dvb-s2-81755eaa892b63b3357fca8123471febe60b9f66.tar.gz
mediapointer-dvb-s2-81755eaa892b63b3357fca8123471febe60b9f66.tar.bz2
backport commit 72e9622c2a2eb73d82c716504cc93d22cd3cfd8e
From: Mauro Carvalho Chehab <mchehab@redhat.com> Author: Guennadi Liakhovetski <lg@denx.de> Date: Tue Nov 25 18:57:08 2008 +0100 [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. kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/arch/arm/mach-pxa/pcm990-baseboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/arch/arm/mach-pxa/pcm990-baseboard.c b/linux/arch/arm/mach-pxa/pcm990-baseboard.c
index e8eb8cbc3..da25913c4 100644
--- a/linux/arch/arm/mach-pxa/pcm990-baseboard.c
+++ b/linux/arch/arm/mach-pxa/pcm990-baseboard.c
@@ -403,6 +403,7 @@ static struct soc_camera_link iclink[] = {
.gpio = NR_BUILTIN_GPIO + 1,
}, {
.bus_id = 0, /* Must match with the camera ID above */
+ .gpio = -ENXIO,
}
};