commit | ff8d97a822c65e8ae6ceaa67369c0d56f6797c9b | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Tue Mar 14 12:09:56 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 30 09:41:23 2017 +0200 |
tree | 4e29c2cd1d982a967a8a636699be14d583155de1 | |
parent | 381420a46ae521c34801314985c1ca7ee274b45e [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>