kernel-hacking-2024-linux-s.../drivers/uwb/i1480/dfu
Dan Carpenter bcf59e2c4d uwb: remove duplicate cpu_to_le16()
These parameters should be passed as cpu endian because we change it to
little endian inside usb_control_msg().  On x86 cpu_to_le16() doesn't
do anything so either way works but I think the original code would break
on big endian systems.

I removed the masks as well because that usb_control_msg() parameters
are __u16 so we already only use the lower bits.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
2010-02-25 13:38:51 +00:00
..
dfu.c
i1480-dfu.h
mac.c
Makefile
phy.c
usb.c uwb: remove duplicate cpu_to_le16() 2010-02-25 13:38:51 +00:00