aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2016-11-16 13:21:27 -0600
committerGreg Kroah-Hartman <[email protected]>2016-11-17 16:25:40 +0100
commitf7c4a46352b58c04e4d2111df7fe0358ce84546d (patch)
tree5a3f35b5eee22630f76db7727560c79ef9180524 /lib/netdev-notifier-error-inject.c
parent247529170d72ee16bbdfc94c3a696c79ea645c3a (diff)
phy: twl4030-usb: Fix for musb session bit based PM
Now with musb driver implementing generic session bit based PM, we need to have the USB PHYs behaving in a sane way for platforms implementing PM. Currently twl4030-usb enables PM in twl4030_phy_power_on() and then disables it in twl4030_phy_power_off(). This will block PM runtime for the SoC when no cable is connected. Fix the issue by moving PM runtime autosuspend call to happen where it gets called in twl4030_phy_power_on(). Note that this patch should not be backported to anything before commit 467d5c980709 ("usb: musb: Implement session bit based runtime PM for musb-core") as before that all the glue layers implemented their own PM. Fixes: 467d5c980709 ("usb: musb: Implement session bit based runtime PM for musb-core") Tested-by: Ladislav Michl <[email protected]> Tested-by: Laurent Pinchart <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Acked-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Bin Liu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions