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:34:08 -0500
commitc0964a59ad8b55def7f6dbdb0d1b68fddd131226 (patch)
tree1c8f41c3f43494c6eac13c32958684a2d12880d5
parent8816ee48f893b905eafbd78e76386394ee43686d (diff)
downloadlinux-linaro-stable-v3.10/topic/usb.tar.gz
usb: Fix H20AHB driver for big-endianv3.10/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 3ee3c7a..7724bab 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 */