summaryrefslogtreecommitdiff
path: root/drivers/usb/mtu3/mtu3_hw_regs.h
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2018-11-29 05:34:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-05 12:14:06 +0300
commit94552090cd188751afdc58a311aa2f3456f5fac0 (patch)
tree9b2ebcf6c5218cb314fe4b2683a3aba5f1c15402 /drivers/usb/mtu3/mtu3_hw_regs.h
parente802972433f7cee173ec3ffe470d51b39029de9b (diff)
downloadlinux-94552090cd188751afdc58a311aa2f3456f5fac0.tar.xz
usb: mtu3: enable SETUPENDISR interrupt
If the controller receives a new SETUP during SETUP data stage, and will generate SETUPENDISR interrupt, the driver should abort the current SETUP command and process the new one. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/mtu3/mtu3_hw_regs.h')
-rw-r--r--drivers/usb/mtu3/mtu3_hw_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/mtu3/mtu3_hw_regs.h b/drivers/usb/mtu3/mtu3_hw_regs.h
index a45bb253939f..d11fcd64c19d 100644
--- a/drivers/usb/mtu3/mtu3_hw_regs.h
+++ b/drivers/usb/mtu3/mtu3_hw_regs.h
@@ -104,6 +104,7 @@
/* U3D_EPISR */
#define EPRISR(x) (BIT(16) << (x))
+#define SETUPENDISR BIT(16)
#define EPTISR(x) (BIT(0) << (x))
#define EP0ISR BIT(0)