diff options
author | Robin Murphy | 2014-08-04 10:42:51 -0500 |
---|---|---|
committer | Mark Brown | 2014-08-20 11:37:45 -0500 |
commit | 356838905e621a965808c26086861f46d7b2651f (patch) | |
tree | c6ab9ae2bbe072a229ede391113b0f9aa923066a | |
parent | d06ac7395a247898ac5b535825e26c7460d5f869 (diff) | |
download | kernel-video-356838905e621a965808c26086861f46d7b2651f.tar.gz kernel-video-356838905e621a965808c26086861f46d7b2651f.tar.xz kernel-video-356838905e621a965808c26086861f46d7b2651f.zip |
usb: Fix H20AHB driver for big-endian
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/usb/host/ehci-h20ahb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-h20ahb.c b/drivers/usb/host/ehci-h20ahb.c index 3ee3c7aa6e5..7724bab1828 100644 --- a/drivers/usb/host/ehci-h20ahb.c +++ b/drivers/usb/host/ehci-h20ahb.c | |||
@@ -58,12 +58,12 @@ struct h20ahb_hcd { | |||
58 | 58 | ||
59 | static inline void ehci_write(void __iomem *base, u32 reg, u32 val) | 59 | static inline void ehci_write(void __iomem *base, u32 reg, u32 val) |
60 | { | 60 | { |
61 | __raw_writel(val, base + reg); | 61 | writel_relaxed(val, base + reg); |
62 | } | 62 | } |
63 | 63 | ||
64 | static inline u32 ehci_read(void __iomem *base, u32 reg) | 64 | static inline u32 ehci_read(void __iomem *base, u32 reg) |
65 | { | 65 | { |
66 | return __raw_readl(base + reg); | 66 | return readl_relaxed(base + reg); |
67 | } | 67 | } |
68 | 68 | ||
69 | /* configure so an HC device and id are always provided */ | 69 | /* configure so an HC device and id are always provided */ |