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>
Fri, 27 Sep 2013 00:21:38 +0000 (17:21 -0700)
commit023d9816a618f64c6cbfe0ad5b2d2db268f9becc
tree3f93731794d5991c90b467b4d31e3ed47ad08482
parente1aa5e2804828c1d8ba117eca4f40131cff3040d
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