[media] s2255drv: fix some endian bugs
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 17 Feb 2012 05:44:10 +0000 (02:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 13:39:56 +0000 (10:39 -0300)
commit3b2a63061ed69465cf851f93b7028ee8badb9d9c
treec96fffa5d0681069db9915dae088ed2d4035a8f0
parent6c61ac635535bbabf4f374df171372d012b0e822
[media] s2255drv: fix some endian bugs

I don't have this hardware and I don't know the subsystem very well.  So
please review this patch carefully.  The original code definitely looks
buggy though.

Sparse complains about some endian bugs where little endian bugs are
treated as cpu endian.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dean Anderson <linux-dev@sensoray.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s2255drv.c