Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c6d704c8c4453f05717ba88792f70f8babf95268
Commit:     c6d704c8c4453f05717ba88792f70f8babf95268
Parent:     a96afb3e9428f2e7463344f12dbc85faf08e2e09
Author:     Grant Likely <[EMAIL PROTECTED]>
AuthorDate: Sun Jan 7 10:33:30 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Mon Jan 15 16:25:48 2007 -0200

    V4L/DVB (5024): Fix quickcam communicator driver for big endian 
architectures
    
    Host endianess does not affect the order that pixel rgb data comes
    in from the quickcam (the values are bytes, not words or longs).  The
    driver is erroniously swapping the order of rgb values for big endian
    machines.  This patch is needed get the Quickcam communicator working
    on big endian machines (tested on powerpc)
    
    Signed-off-by: Grant Likely <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/usbvideo/quickcam_messenger.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/drivers/media/video/usbvideo/quickcam_messenger.h 
b/drivers/media/video/usbvideo/quickcam_messenger.h
index baab9c0..17ace39 100644
--- a/drivers/media/video/usbvideo/quickcam_messenger.h
+++ b/drivers/media/video/usbvideo/quickcam_messenger.h
@@ -35,27 +35,13 @@ struct rgb {
 };
 
 struct bayL0 {
-#ifdef __BIG_ENDIAN
-       u8 r;
-       u8 g;
-#elif __LITTLE_ENDIAN
        u8 g;
        u8 r;
-#else
-#error not byte order defined
-#endif
 };
 
 struct bayL1 {
-#ifdef __BIG_ENDIAN
-       u8 g;
-       u8 b;
-#elif __LITTLE_ENDIAN
        u8 b;
        u8 g;
-#else
-#error not byte order defined
-#endif
 };
 
 struct cam_size {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to