USB: gadget: udc: Process disconnect synchronously
authorDavidlohr Bueso <dave@stgolabs.net>
Tue, 19 Jan 2021 00:16:53 +0000 (16:16 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jan 2021 12:31:25 +0000 (13:31 +0100)
commit908f6e2b8a7987ae761d80ea05738aa2a42c4474
tree53b65abc03a33acddce4abbdf0ecb091d1850fb7
parent79f06f04db653f57fd9e344c20b1a8b70c75ec50
USB: gadget: udc: Process disconnect synchronously

As the comment in usb_disconnect() hints, do not defer the
disconnect processing, and instead just do it directly in
the irq handler. This allows the driver to avoid using a
nowadays deprecated tasklet.

Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Link: https://lore.kernel.org/r/20210119001653.127975-1-dave@stgolabs.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/snps_udc_core.c