]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
V4L: Fix quickcam communicator driver for big endian architectures
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 7 Jan 2007 13:33:30 +0000 (10:33 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 24 Feb 2007 00:24:24 +0000 (16:24 -0800)
commitf13dd9f0e2151f80eeab244eae2c903b54e548f7
treeccd77ff72241ede33fe4e6a3a81416dd40d17c49
parent1142c3d706117e78573a64ce2c176b667e6ebb69
V4L: 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)

(cherry picked from commit c6d704c8c4453f05717ba88792f70f8babf95268)

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/usbvideo/quickcam_messenger.h