diff options
author | Aaro Koskinen <[email protected]> | 2023-02-02 00:01:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-02-02 09:41:17 +0100 |
commit | 30d09b3131f5b1b9d54ad9b7ee171a45e21362b3 (patch) | |
tree | 0f17433be73d20e43fb94ce3f50c3525c6ed522a /tools/perf/scripts/python/netdev-times.py | |
parent | 2fa89458af9993fab8054daf827f38881e2ad473 (diff) |
usb: gadget: udc: do not clear gadget driver.bus
Before the commit fc274c1e9973 ("USB: gadget: Add a new bus for gadgets")
gadget driver.bus was unused. For whatever reason, many UDC drivers set
this field explicitly to NULL in udc_start(). With the newly added gadget
bus, doing this will crash the driver during the attach.
The problem was first reported, fixed and tested with OMAP UDC and g_ether.
Other drivers are changed based on code analysis only.
Fixes: fc274c1e9973 ("USB: gadget: Add a new bus for gadgets")
Cc: stable <[email protected]>
Signed-off-by: Aaro Koskinen <[email protected]>
Acked-by: Alan Stern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions