summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>2017-05-15 17:49:52 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-14 15:05:56 +0200
commitcd0ef520aa705475184b4639d4b7c14e36b520bb (patch)
treeb6275ac7f19af20a6fcfa00eb776073666c0a2d4
parent3e7a76b290f12668e5a57d2f7796f789d4317bc3 (diff)
downloadlinux-stable-cd0ef520aa705475184b4639d4b7c14e36b520bb.tar.gz
linux-stable-cd0ef520aa705475184b4639d4b7c14e36b520bb.tar.bz2
linux-stable-cd0ef520aa705475184b4639d4b7c14e36b520bb.zip
dmaengine: usb-dmac: Fix DMAOR AE bit definition
commit 9a445bbb1607d9f14556a532453dd86d1b7e381e upstream. This patch fixes the register definition of AE (Address Error flag) bit. Fixes: 0c1c8ff32fa2 ("dmaengine: usb-dmac: Add Renesas USB DMA Controller (USB-DMAC) driver") Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> [Shimoda: add Fixes and Cc tags in the commit log] Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/dma/sh/usb-dmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sh/usb-dmac.c b/drivers/dma/sh/usb-dmac.c
index 06ecdc38cee0..6682b3eec2b6 100644
--- a/drivers/dma/sh/usb-dmac.c
+++ b/drivers/dma/sh/usb-dmac.c
@@ -117,7 +117,7 @@ struct usb_dmac {
#define USB_DMASWR 0x0008
#define USB_DMASWR_SWR (1 << 0)
#define USB_DMAOR 0x0060
-#define USB_DMAOR_AE (1 << 2)
+#define USB_DMAOR_AE (1 << 1)
#define USB_DMAOR_DME (1 << 0)
#define USB_DMASAR 0x0000