From c0964a59ad8b55def7f6dbdb0d1b68fddd131226 Mon Sep 17 00:00:00 2001 From: Robin Murphy Date: Mon, 4 Aug 2014 16:42:51 +0100 Subject: usb: Fix H20AHB driver for big-endian Signed-off-by: Robin Murphy Signed-off-by: Mark Brown --- drivers/usb/host/ehci-h20ahb.c | 4 ++-- 1 file 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 */ -- cgit v1.2.3