linux/drivers/phy
Oussama Ghorbel 8a68df4e1c phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly
commit f20531a9aa upstream.

The USB OTG port does not work since v3.16 on omap platform.
This is a regression introduced by the commit
eb82a3d846 (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: eb82a3d846
Signed-off-by: Oussama Ghorbel <ghorbel@pivasoftware.com>
Tested-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[ luis: backported to 3.16: adjusted context ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2014-11-14 15:19:59 +00:00
..
Kconfig USB fixes for 3.16-rc5 2014-07-12 14:13:10 -07:00
Makefile phy: Add new Exynos5 USB 3.0 PHY driver 2014-05-13 18:07:08 +05:30
phy-bcm-kona-usb2.c usb: phy: bcm-kona-usb2: Use PTR_ERR_OR_ZERO 2014-03-02 00:26:26 +05:30
phy-core.c phy: core: Fix error path in phy_create() 2014-07-11 18:23:49 -07:00
phy-exynos-dp-video.c phy: let phy_provider_register be the last step in registering PHY 2014-02-18 12:13:16 -08:00
phy-exynos-mipi-video.c phy: exynos-mipi-video: fix check on array index 2014-05-12 19:02:02 +05:30
phy-exynos4x12-usb2.c phy: Add new Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-exynos5-usbdrd.c phy: exynos5-usbdrd: Add facility for VBUS supply 2014-05-13 18:07:08 +05:30
phy-exynos4210-usb2.c phy: Add new Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-exynos5250-sata.c PHY: Exynos: fix SATA phy license typo 2014-05-08 19:24:35 +05:30
phy-exynos5250-usb2.c phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-mvebu-sata.c phy: let phy_provider_register be the last step in registering PHY 2014-02-18 12:13:16 -08:00
phy-omap-control.c phy: omap-control: update dra7 and am437 usb2 bindings 2014-03-09 12:45:09 +05:30
phy-omap-usb2.c phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly 2014-11-14 15:19:59 +00:00
phy-samsung-usb2.c drivers: phy: phy-samsung-usb2.c: Add missing MODULE_DEVICE_TABLE 2014-07-11 18:23:49 -07:00
phy-samsung-usb2.h phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-sun4i-usb.c phy: usb: sunxi: Introduce Allwinner A31 USB PHY support 2014-05-14 19:41:13 +05:30
phy-ti-pipe3.c phy: ti-pipe3: Fix suspend/resume and module reload 2014-03-09 12:45:11 +05:30
phy-twl4030-usb.c usb: phy: twl4030-usb: Fix regressions to runtime PM on omaps 2014-10-05 13:40:58 -07:00
phy-xgene.c PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver 2014-03-09 12:45:13 +05:30