[media] saa7164: fix endian conversion in saa7164_bus_set()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 28 Nov 2011 12:08:53 +0000 (09:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 10:07:41 +0000 (08:07 -0200)
The msg->command field is 32 bits, and we should fill it with a call
to cpu_to_le32().  The current code is broke on big endian systems.
On little endian systems it truncates the 32 bit value to 16 bits
which probably still works fine.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found