USB: mos7720: fix big-endian control requests
authorJohan Hovold <jhovold@gmail.com>
Mon, 19 Aug 2013 11:05:45 +0000 (13:05 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 26 Oct 2013 20:05:59 +0000 (21:05 +0100)
commitb18b089695313ab6b6a4f7569aa3a6c02ddcc3c6
tree4da410afe3438ef4b5139a3f021f61b83f24655f
parent3807f1de20f7e7178a5854bb2066eac56790fe8f
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/mos7720.c