linux/drivers/usb/renesas_usbhs
Claudiu Beznea 552ca6b87e usb: renesas_usbhs: Flush the notify_hotplug_work
When performing continuous unbind/bind operations on the USB drivers
available on the Renesas RZ/G2L SoC, a kernel crash with the message
"Unable to handle kernel NULL pointer dereference at virtual address"
may occur. This issue points to the usbhsc_notify_hotplug() function.

Flush the delayed work to avoid its execution when driver resources are
unavailable.

Fixes: bc57381e63 ("usb: renesas_usbhs: use delayed_work instead of work_struct")
Cc: stable <stable@kernel.org>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://lore.kernel.org/r/20250225110248.870417-4-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-03 10:20:14 +01:00
..
common.c usb: renesas_usbhs: Flush the notify_hotplug_work 2025-03-03 10:20:14 +01:00
common.h
fifo.c
fifo.h
Kconfig
Makefile
mod.c
mod.h
mod_gadget.c usb: renesas_usbhs: Use devm_usb_get_phy() 2025-03-03 10:20:11 +01:00
mod_host.c
pipe.c
pipe.h
rcar2.c
rcar2.h
rcar3.c
rcar3.h
rza.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
rza.h usb: renesas_usbhs: Update usbhs pipe configuration for RZ/G2L family 2024-03-27 07:57:16 +01:00
rza2.c usb: renesas_usbhs: Update usbhs pipe configuration for RZ/G2L family 2024-03-27 07:57:16 +01:00