USB: mos7720: fix big-endian control requests
authorJohan Hovold <jhovold@gmail.com>
Mon, 19 Aug 2013 11:05:45 +0000 (13:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 23:52:46 +0000 (16:52 -0700)
commit5f8ce0764bb3d54090856cca1c8562c0435003ca
treee2c786315d2ecaae36f6e20ccd5c79b3616db670
parentd723c89020d4f5f54b42997ae5e90f13bc620d8b
USB: mos7720: fix big-endian control requests

commit 3b716caf190ccc6f2a09387210e0e6a26c1d81a4 upstream.

Fix endianess bugs in parallel-port code which caused corrupt
control-requests to be issued on big-endian machines.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7720.c