]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: host: fix dwc2 disconnect bug
authorYunzhi Li <lyz@rock-chips.com>
Fri, 6 Mar 2015 07:17:10 +0000 (15:17 +0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:48:29 +0000 (15:48 -0500)
commit1c27320d1de53bc9c1a0609dc2ab61ad7a6f0578
tree272a78b9a259181ba9ddc0f69e4ecb7f67368d47
parentd8210e0e8f5b1a3c6f515bfc5a7c7561a6f9e8eb
usb: dwc2: host: fix dwc2 disconnect bug

When dwc2 controller detects a disconnect interrupt,
dwc2_hcd_disconnect() should be called immediately to do clean-up
jobs and set port_connect_status_change flag to notify usb hub
driver disconnect status.

Tested-by: Vincent Palatin <vpalatin@chromium.org>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Yunzhi Li <lyz@rock-chips.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core_intr.c