usb/isp1760: Move to native-endian ptds
authorArvid Brodin <arvid.brodin@enea.com>
Sat, 26 Feb 2011 21:02:57 +0000 (22:02 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 1 Mar 2011 03:23:36 +0000 (19:23 -0800)
commitbedc0c31ac3db828e6ade7a8c5cb708688f0a7e1
tree4d673769f7cc5a7fac603cd3822f644d650c3096
parent6d42fcdb685e3b7af45c77181537db4bc1a715f9
usb/isp1760: Move to native-endian ptds

This helps users with platform-bus-connected isp176xs, big-endian cpu,
and missing byteswapping on the data bus. It does so by collecting all
SW byteswaps in one place and also fixes a bug with non-32-bit io
transfers on this hardware, where payload has to be byteswapped
instead of ptds.

Signed-off-by: Arvid Brodin <arvid.brodin@enea.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-hcd.c
drivers/usb/host/isp1760-hcd.h