mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
The functionality bit vector is always returned as a little-endian 32-bit number by the device, so it must be byte-swapped to the host endianness. On the other hand, the delay value is handled by the USB stack, so no byte swapping is needed on our side. This fixes bug #15105: http://bugzilla.kernel.org/show_bug.cgi?id=15105 Reported-by: Jens Richter <[email protected]> Signed-off-by: Jean Delvare <[email protected]> Tested-by: Jens Richter <[email protected]> Cc: Till Harbaum <[email protected]> Cc: [email protected]