]> Git Repo - linux.git/commit
phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly
authorOussama Ghorbel <[email protected]>
Tue, 4 Nov 2014 06:17:06 +0000 (11:47 +0530)
committerGreg Kroah-Hartman <[email protected]>
Wed, 5 Nov 2014 22:34:06 +0000 (14:34 -0800)
commitf20531a9aae0c7378d9fa75b4b5d99b7eecab066
treea78d41e0567f38e0f021c52738da577ebd776054
parenta88098bdb272fb631a59fb152bfef7c827531294
phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

The USB OTG port does not work since v3.16 on omap platform.
This is a regression introduced by the commit
eb82a3d846fa (phy: omap-usb2: Balance pm_runtime_enable() on probe failure
 and remove).
This because the call to pm_runtime_enable() function is moved after the
call to devm_phy_create() function, which has side effect since later in
the subsequent calls of devm_phy_create() there is a check with
pm_runtime_enabled() to configure few things.

Fixes: eb82a3d846fa
Signed-off-by: Oussama Ghorbel <[email protected]>
Tested-by: Rabin Vincent <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/phy/phy-omap-usb2.c
This page took 0.044687 seconds and 4 git commands to generate.