V4L/DVB (5024): 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)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 15 Jan 2007 18:25:48 +0000 (16:25 -0200)
commitc6d704c8c4453f05717ba88792f70f8babf95268
tree5dba2ec198514488dd9ce0fb1aefc9040b9068c9
parenta96afb3e9428f2e7463344f12dbc85faf08e2e09
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 <grant.likely@secretlab.ca>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/usbvideo/quickcam_messenger.h