usb: cdns3: gadget: clear the interrupt status when disconnect the host
authorPeter Chen <peter.chen@nxp.com>
Tue, 1 Sep 2020 02:33:50 +0000 (10:33 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 2 Oct 2020 06:57:40 +0000 (09:57 +0300)
commit0eeda059956d57b16143cc1dd0aed7e5fc383d5d
treed25fc5dd4461e0484e0400227f30f2daf37e078a
parentb5148d946f45bb7a780c2dc45a20f5b47e73f995
usb: cdns3: gadget: clear the interrupt status when disconnect the host

It is meaningless to handle any interrupts after disconnecting
with host

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/cdns3/gadget.c