]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L/DVB (6743): cx25840: fix endianness inconsistency
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 2 Dec 2007 10:03:45 +0000 (07:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:17 +0000 (19:03 -0200)
commit4a56eb3f535f92b0585aa01dba05b3f17a547df0
tree796ae3ce9bf9b210342222098c7e78cc1738de74
parent6b1e56763b50f169d8446c43df6adb70f69552db
V4L/DVB (6743): cx25840: fix endianness inconsistency

cx25840_read4 reads a little-endian 32-bit value whereas cx25840_write4 writes
the 32-bit value as big-endian. Convert write4 to use little-endian as well
(that's the correct endianness).

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx25840/cx25840-audio.c
drivers/media/video/cx25840/cx25840-core.c