diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-11-28 09:08:53 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-11 08:07:41 -0200 |
| commit | 773ddbd228dc16a4829836e1dc16383e44c8575e (patch) | |
| tree | c8142c09a4bc0cb1ca376245f5f0a06bc1050442 /tools/perf/scripts/python/netdev-times.py | |
| parent | ed942c507465287777a5342f83af1638ba05a6ac (diff) | |
[media] saa7164: fix endian conversion in saa7164_bus_set()
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>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
