dwc2_driver_shutdown(9)
π dwc2_driver_shutdown(9) π
okay so bestie, welcome to this page from the Kernel API Manual β it's giving very specific kernel-business energy, and the main character is dwc2_driver_shutdown. π«Ά
β¨ NAME β¨
dwc2_driver_shutdown β Called on device shutdown
β¨ SYNOPSIS β¨
void dwc2_driver_shutdown (struct platform_device *dev );
π ARGUMENTS π
devβ Platform device
π¦ DESCRIPTION π¦
okay so here's the tea: in specific conditions (and yes, this involves usb hubs), dwc2 devices can create a lot of interrupts β like, even to the point of overwhelming devices running at low frequencies. π no cap.
Some devices need to do special clock handling at shutdown-time, and that can bring the system clock below the threshold of being able to handle the dwc2 interrupts. that's the whole vibe check.
Disabling dwc2-irqs prevents reboots/poweroffs from getting stuck in such cases. periodt. π
π SEE ALSO π
- Kernel file:
./drivers/usb/dwc2/platform.c dwc2_lowlevel_hw_enable(9)dwc2_lowlevel_hw_disable(9)dwc2_driver_remove(9)dwc2_check_core_endianness(9)dwc2_check_core_version(9)dwc2_driver_probe(9)
Bestie, that's the whole page π β source/version:./drivers/usb/dwc2, date:October 2026, and it's literallydwc2_driver_shutdown(9). bye! β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms