dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt
authorP33M <p33m@github.com>
Mon, 15 May 2017 13:51:42 +0000 (14:51 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:08:06 +0000 (01:08 +0000)
commitf1918afe0cc4ae64b51ee03bbebd7fb2b1ad5c82
tree8e48bba6111cd32d3eca71b1830871fdb9196a2d
parentc12854759f55e5e6166df54709a1c93c5cc83e02
dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt

Host channels are already halted in kill_urbs_in_qh_list() with the
subsequent interrupt processing behaving as if the URB was dequeued
via HCD callback.

There's no need to clobber the host channel registers a second time
as this exposes races between the driver and host channel resulting
in hcd->free_hc_list becoming corrupted.
drivers/usb/host/dwc_otg/dwc_otg_hcd.c