]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: mtu3: enable SETUPENDISR interrupt
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 29 Nov 2018 02:34:35 +0000 (10:34 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 5 Dec 2018 09:12:25 +0000 (11:12 +0200)
commit49187dd14cc84f0ff7db2876c43ad510eeec04b0
tree79893088ddb18b587839c0fa7446c1d66df2060d
parenta0678e2eed41e81004308693ac84ea95614b0920
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: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/mtu3/mtu3_core.c
drivers/usb/mtu3/mtu3_gadget_ep0.c
drivers/usb/mtu3/mtu3_hw_regs.h