diff options
author | Oliver Neukum <oneukum@suse.com> | 2017-03-14 12:09:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-30 09:35:16 +0200 |
commit | 19f0fe67b9d04580c377efc568cc8630a5af06b4 (patch) | |
tree | dbddfa90c33de4733087220d551bfd1913fc1546 /sound/atmel | |
parent | 9218793a39def5ee7555d990ef6034260024a379 (diff) |
ACM gadget: fix endianness in notifications
commit cdd7928df0d2efaa3270d711963773a08a4cc8ab upstream.
The gadget code exports the bitfield for serial status changes
over the wire in its internal endianness. The fix is to convert
to little endian before sending it over the wire.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Tested-by: 家瑋 <momo1208@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/atmel')
0 files changed, 0 insertions, 0 deletions