]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Fri, 31 May 2019 13:48:30 +0000 (06:48 -0700)
commitb62dfb54e304e7b1ebad1959652bbf3b538900b7
tree8da8692b1a13b9052b6cdb916e4a52a35e14766f
parent090eb578b9e6c99041e067d64b81d7a212604156
usb: core: Add PM runtime calls to usb_hcd_platform_shutdown

[ Upstream commit 8ead7e817224d7832fe51a19783cb8fcadc79467 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/core/hcd.c