[media] cx18: support big-endian systems
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 26 May 2012 11:07:03 +0000 (08:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 21:13:57 +0000 (18:13 -0300)
commit42d0c3ad28837a4a475c18b69160053fdb562976
tree3d0a7c59c36ca9c9772b2ee18d6260d923696bc1
parent1c36dfc5c51b1406c2454fde922491ca6dab8513
[media] cx18: support big-endian systems

base_addr has type resource_size_t, which may be 64 bits.

Also fix a few endian issues related to mailboxes and firmware loading.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.c
drivers/media/video/cx18/cx18-driver.h
drivers/media/video/cx18/cx18-firmware.c
drivers/media/video/cx18/cx18-mailbox.c