usb: mtu3: enable SETUPENDISR interrupt
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 29 Nov 2018 02:34:35 +0000 (10:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 09:14:06 +0000 (10:14 +0100)
commit94552090cd188751afdc58a311aa2f3456f5fac0
tree9b2ebcf6c5218cb314fe4b2683a3aba5f1c15402
parente802972433f7cee173ec3ffe470d51b39029de9b
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>
drivers/usb/mtu3/mtu3_core.c
drivers/usb/mtu3/mtu3_gadget_ep0.c
drivers/usb/mtu3/mtu3_hw_regs.h