usb: core: Add PM runtime calls to usb_hcd_platform_shutdown
authorTony Lindgren <tony@atomide.com>
Fri, 22 Mar 2019 21:54:05 +0000 (14:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Mar 2019 07:42:53 +0000 (16:42 +0900)
commit8ead7e817224d7832fe51a19783cb8fcadc79467
treeeb832d9d9c9604aef3bc026e61d4f40330f95444
parent1a137b47ce6bd4f4b14662d2f5ace913ea7ffbf8
usb: core: Add PM runtime calls to usb_hcd_platform_shutdown

If ohci-platform is runtime suspended, we can currently get an "imprecise
external abort" on reboot with ohci-platform loaded when PM runtime
is implemented for the SoC.

Let's fix this by adding PM runtime support to usb_hcd_platform_shutdown.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c