dmaengine: usb-dmac: Fix DMAOR AE bit definition
authorHiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Mon, 15 May 2017 08:49:52 +0000 (17:49 +0900)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 8 Jun 2017 10:12:19 +0000 (06:12 -0400)
[ Upstream commit 9a445bbb1607d9f14556a532453dd86d1b7e381e ]

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")
Cc: <stable@vger.kernel.org> # v4.1+
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: Sasha Levin <alexander.levin@verizon.com>
drivers/dma/sh/usb-dmac.c

index 900cf63d0420f90ffa40558ffb947b0e4f5aa06c..5440c570984f96b4f4e9dce430c51259cd38a3de 100644 (file)
@@ -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