commit | 74098c4ac782afd71b35ac56f9536ae2f5cd7da7 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Tue Mar 14 12:09:56 2017 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Wed Mar 22 11:20:52 2017 +0200 |
tree | e73898f472e1b8da0a3f6879bd3a44e9f317148c | |
parent | de288e36fe33f7e06fa272bc8e2f85aa386d99aa [diff] |
usb: gadget: acm: fix endianness in notifications 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> CC: <stable@vger.kernel.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>