usb: ehci-orion: enable big-endian support
authorMarcin Wojtas <mw@semihalf.com>
Wed, 12 Nov 2014 23:49:50 +0000 (00:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Nov 2014 01:22:04 +0000 (17:22 -0800)
commit782614b80edf97dad35fa93f9981883c3e117c29
tree13d55ba68bb4064c99428e845b80bc436f920776
parent403dff4e2c94f275e24fd85f40b2732ffec268a1
usb: ehci-orion: enable big-endian support

This commit fixes ehci-orion operation in big-endian mode by enabling byteswap
when accessing registers using 'rdl' and 'wrl' macros.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-orion.c