summary refs log tree commit diff
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2021-02-05 01:53:47 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-06 15:07:38 +0100
commit8cf9045b91382df9fb1eb420daa4d1c2697d2f44 (patch)
treee3dbf676dece4992c74448e9685ce57c712cf778 /drivers/usb/host/xhci-ring.c
parent450b9e9fabd80d7d5fd29e6f915b696a15acd2bd (diff)
downloadlinux-8cf9045b91382df9fb1eb420daa4d1c2697d2f44.tar.gz
usb: dwc3: gadget: Remove check for bounded driver
The check for bounded gadget driver in dwc3_gadget_start() was to
prevent going through the initialization again without any cleanup. The
recent commit 49d08cfc7830 ("usb: udc: core: Introduce started state")
updated the UDC framework and guarantees this won't happen while the UDC
is started. Also, this check doesn't prevent requesting threaded irq to
the same dev_id, which will mess up the irq freeing logic. Let's remove
it.

Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/ccc90f316cf78bb5f7d46d3fd84f4c7f2c3020b1.1612518764.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions