Skip to content
Commit 7481f91f authored by Tony Lindgren's avatar Tony Lindgren Committed by Vinod Koul
Browse files

phy: phy-twl4030-usb: Disable PHY for suspend

Since commit 88d26136

 ("PM: Prevent runtime suspend during system
resume"), PM runtime will not let devices idle during system suspend.

This is because of the pm_runtime_get_noresume() call done in
device_prepare() that is not released until at device_complete() after
resume.

We must now disable the USB PHY in suspend if no USB cable is connected.

Cc: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20210727104512.52968-1-tony@atomide.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent a69f29cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment