aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2014-08-04 16:42:51 +0100
committerMark Brown <broonie@linaro.org>2014-08-20 11:37:45 -0500
commit356838905e621a965808c26086861f46d7b2651f (patch)
treec6ab9ae2bbe072a229ede391113b0f9aa923066a
parentd06ac7395a247898ac5b535825e26c7460d5f869 (diff)
downloadlinux-linaro-stable-v3.14/topic/usb.tar.gz
usb: Fix H20AHB driver for big-endianv3.14/topic/usb
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-h20ahb.c b/drivers/usb/host/ehci-h20ahb.c
index 3ee3c7aa6e5b..7724bab1828b 100644
--- a/drivers/usb/host/ehci-h20ahb.c
+++ b/drivers/usb/host/ehci-h20ahb.c
@@ -58,12 +58,12 @@ struct h20ahb_hcd {
static inline void ehci_write(void __iomem *base, u32 reg, u32 val)
{
- __raw_writel(val, base + reg);
+ writel_relaxed(val, base + reg);
}
static inline u32 ehci_read(void __iomem *base, u32 reg)
{
- return __raw_readl(base + reg);
+ return readl_relaxed(base + reg);
}
/* configure so an HC device and id are always provided */