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>
Sat, 31 Mar 2018 14:54:13 +0000 (15:54 +0100)
commit9cdb9caa87f134494c905781126e4f99b6ce67c6
tree02a00a8d583702c0b699abd8dc9157e86a87f763
parent5ebac35650db967595723dbaf52ce778cee967fb
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