Skip to contentSkip to conversation

usb: host: ohci-platform: Implement ohci_platform_shutdown

DISCUSSION Tony Lindgren 1 participant 1 message Mar 22, 2019 USB

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Alan Stern

How about putting these runtime PM additions into usb_hcd_platform_shutdown instead, so they will apply to all platform controller drivers?

OK let's do that then.

Quoted 3 lines

Also, are you certain you want the pm_runtime_put_sync at the end? If the system is shutting down anyway, why waste time doing an extra runtime suspend?

Well mostly to keep the calls paired. But maybe there are also kexec reboot cases where we'd want to have things properly disabled for PM before kexec.

Regards,

Tony