projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844c6f6
)
[ARM] pxa/pcm990: use negative number for an invalid GPIO in camera data
author
Guennadi Liakhovetski
<lg@denx.de>
Tue, 25 Nov 2008 17:57:08 +0000
(18:57 +0100)
committer
Eric Miao
<eric.miao@marvell.com>
Wed, 26 Nov 2008 04:51:19 +0000
(12:51 +0800)
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: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/pcm990-baseboard.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-pxa/pcm990-baseboard.c
b/arch/arm/mach-pxa/pcm990-baseboard.c
index f601425f1b1eaa31b3307c4fea3e36785f920244..b36cec5c9eed528b1d595fe1b4085a5dfcd7dccc 100644
(file)
--- a/
arch/arm/mach-pxa/pcm990-baseboard.c
+++ b/
arch/arm/mach-pxa/pcm990-baseboard.c
@@
-385,6
+385,7
@@
static struct soc_camera_link iclink[] = {
.gpio = NR_BUILTIN_GPIO + 1,
}, {
.bus_id = 0, /* Must match with the camera ID above */
+ .gpio = -ENXIO,
}
};