The patch number 9768 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Mauro Carvalho Chehab  <[EMAIL PROTECTED]>
backport commit 72e9622c2a2eb73d82c716504cc93d22cd3cfd8e


Author: Guennadi Liakhovetski <[EMAIL PROTECTED]>
     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 <[EMAIL PROTECTED]>


---

 linux/arch/arm/mach-pxa/pcm990-baseboard.c |    1 +
 1 file changed, 1 insertion(+)

diff -r 7100e78482d7 -r 6bab82c6096e linux/arch/arm/mach-pxa/pcm990-baseboard.c
--- a/linux/arch/arm/mach-pxa/pcm990-baseboard.c        Sat Nov 29 00:46:43 
2008 -0200
+++ b/linux/arch/arm/mach-pxa/pcm990-baseboard.c        Wed Dec 03 15:32:11 
2008 -0200
@@ -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,
        }
 };
 


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/6bab82c6096e66523ea8c77eb1843550b9a096b9

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to