Files
twx-linux/drivers
Linyu Yuan 26920e0f3a FROMLIST: usb: dwc3: avoid NULL access of usb_gadget_driver
we found crash in dwc3_disconnect_gadget(),
it is because dwc->gadget_driver become NULL before async access.
7dc0c55e9f ('USB: UDC core: Add udc_async_callbacks gadget op')
suggest a common way to avoid such kind of issue.

this change implment the callback in dwc3 and
change related functions which have callback to usb gadget driver.

Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
Bug: 193006095
Link: https://lore.kernel.org/linux-usb/20210629015118.7944-1-linyyuan@codeaurora.org
Change-Id: Id6774f7f6b7c8d31338128ffc33f01f5575f4d16
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2021-07-14 20:52:03 -07:00
..
2021-06-12 14:48:14 +02:00
2021-06-03 18:47:38 +02:00
2021-06-03 18:47:38 +02:00
2021-06-03 18:47:38 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-06-03 18:47:38 +02:00
2021-06-03 18:47:38 +02:00
2021-05-27 08:36:46 +02:00
2021-06-03 18:47:38 +02:00
2021-06-03 18:47:38 +02:00
2021-06-03 18:47:38 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-05-27 08:36:46 +02:00