]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Tue, 20 Aug 2013 00:02:11 +0000 (17:02 -0700)
commitb0a14703e45802a68284598fab7de4daa8f46043
tree5d943c924ddc2eb46cddd66619581ecddb54bba1
parent672046b979a78478660cebf7b02a4772976c20ac
USB: mos7720: fix big-endian control requests

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>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7720.c