summaryrefslogtreecommitdiff
path: root/scripts/data_files
diff options
context:
space:
mode:
authorMichele Bisogno <[email protected]>2026-04-26 09:43:17 +0200
committerMarek Vasut <[email protected]>2026-04-26 17:52:36 +0200
commit6602a93d39294cfc3c73073658da7ee26f167be5 (patch)
tree169e4f370b8e5b27a666301de55d14a7f1dd0c6c /scripts/data_files
parent9f61fd5b80a43ae20ba115e3a2933d47d720ab82 (diff)
usb: gadget: rcar: Fix gadget registration lifecycle in remove
The driver currently fails to unregister the USB gadget when the device is removed or the driver is unbound. This leads to dangling pointers in the UDC core and potential memory corruption. Add a call to usb_del_gadget_udc() in the remove path to ensure a clean teardown of the gadget interface. Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Michele Bisogno <[email protected]>
Diffstat (limited to 'scripts/data_files')
0 files changed, 0 insertions, 0 deletions