linux-stable/drivers/phy
Roger Quadros 0a0830feb2 phy: ti-pipe3: fix suspend
Relying on PM-ops for shutting down PHY clocks was a
bad idea since the users (e.g. PCIe/SATA) might not
have been suspended by then.

The main culprit for not shutting down the clocks was
the stray pm_runtime_get() call in probe.

Fix the whole thing in the right way by getting rid
of that pm_runtime_get() call from probe and
removing all PM-ops. It is the sole responsibility
of the PHY user to properly turn OFF and de-initialize
the PHY as part of its suspend routine.

As PHY core serializes init/exit we don't need
to use a spinlock in this driver. So get rid of it.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2015-07-15 20:02:09 +05:30
..
Kconfig Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-06-27 12:44:34 -07:00
Makefile Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-06-27 12:44:34 -07:00
phy-armada375-usb2.c phy: armada375-usb2: Set drvdata for phy and use it 2015-03-04 18:31:47 +05:30
phy-bcm-kona-usb2.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-berlin-sata.c phy: berlin-sata: Use devm_kcalloc at appropriate place 2015-03-10 14:12:27 +05:30
phy-berlin-usb.c phy: berlin-usb: Set drvdata for phy and use it 2015-03-10 17:18:09 +05:30
phy-brcmstb-sata.c phy: add Broadcom SATA3 PHY driver for Broadcom STB SoCs 2015-05-22 16:53:09 +05:30
phy-core.c Merge 4.1-rc7 into usb-next 2015-06-08 10:57:51 -07:00
phy-dm816x-usb.c phy: Add a driver for dm816x USB PHY 2015-04-03 18:16:19 +05:30
phy-exynos-dp-video.c phy: exynos-dp-video: Kill exynos_dp_video_phy_pwr_isol function 2015-03-12 11:01:15 +05:30
phy-exynos-mipi-video.c phy: exynos-mipi-video: Use spin_lock to protct state->regmap rmw operations 2015-03-11 15:51:06 +05:30
phy-exynos4x12-usb2.c phy: samsung-usb2: Remove NULL terminating entry from phys array 2015-03-12 11:01:16 +05:30
phy-exynos5-usbdrd.c New Features 2015-04-10 13:47:50 +02:00
phy-exynos4210-usb2.c phy: samsung-usb2: Remove NULL terminating entry from phys array 2015-03-12 11:01:16 +05:30
phy-exynos5250-sata.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-exynos5250-usb2.c phy: samsung-usb2: Remove NULL terminating entry from phys array 2015-03-12 11:01:16 +05:30
phy-hix5hd2-sata.c phy: hix5hd2-sata: Check return value of platform_get_resource 2015-03-12 11:01:16 +05:30
phy-miphy28lp.c phy: core: Check requested PHY status in _of_phy_get() 2015-05-11 21:42:27 +05:30
phy-miphy365x.c phy: core: Check requested PHY status in _of_phy_get() 2015-05-11 21:42:27 +05:30
phy-mvebu-sata.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-omap-control.c New Features 2015-04-10 13:47:50 +02:00
phy-omap-usb2.c phy: omap-usb2: invoke pm_runtime_disable on error path 2015-05-12 20:57:19 +05:30
phy-pistachio-usb.c PHY: Add driver for Pistachio USB2.0 PHY 2015-06-21 21:53:38 +02:00
phy-pxa-28nm-hsic.c phy: add Marvell HSIC 28nm PHY 2015-06-09 12:20:30 -07:00
phy-pxa-28nm-usb2.c phy: Add Marvell USB 2.0 OTG 28nm PHY 2015-06-09 12:20:30 -07:00
phy-qcom-apq8064-sata.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-qcom-ipq806x-sata.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-qcom-ufs-i.h phy: qcom-ufs: add support for 20nm phy 2015-01-20 19:43:25 +01:00
phy-qcom-ufs-qmp-14nm.c phy: qcom-ufs: add support for 14nm phy 2015-01-20 19:43:26 +01:00
phy-qcom-ufs-qmp-14nm.h phy: qcom-ufs: add support for 14nm phy 2015-01-20 19:43:26 +01:00
phy-qcom-ufs-qmp-20nm.c phy: qcom-ufs: add support for 20nm phy 2015-01-20 19:43:25 +01:00
phy-qcom-ufs-qmp-20nm.h phy: qcom-ufs: add support for 20nm phy 2015-01-20 19:43:25 +01:00
phy-qcom-ufs.c USB patches for 4.1-rc1 2015-04-13 17:07:21 -07:00
phy-rcar-gen2.c Merge 4.1-rc7 into usb-next 2015-06-08 10:57:51 -07:00
phy-rockchip-usb.c phy: rockchip-usb: Fixup rockchip_usb_phy_power_on failure path 2015-03-12 11:01:17 +05:30
phy-s5pv210-usb2.c phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver 2014-07-19 04:25:09 +09:00
phy-samsung-usb2.c phy: samsung_usb2: Fixup samsung_usb2_phy_power_on/off paths 2015-03-26 05:06:10 +05:30
phy-samsung-usb2.h ARM: SoC platform changes for 3.17 2014-08-08 11:14:29 -07:00
phy-spear1310-miphy.c Mohit Kumar has moved 2015-06-25 17:00:38 -07:00
phy-spear1340-miphy.c Mohit Kumar has moved 2015-06-25 17:00:38 -07:00
phy-stih41x-usb.c phy: stih41x-usb: Fixup stih41x_usb_phy_power_on failure path 2015-03-26 05:06:09 +05:30
phy-stih407-usb.c phy: phy-stih407-usb: Pass sysconfig register offsets via syscfg property. 2015-01-21 15:23:06 +05:30
phy-sun4i-usb.c phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect 2015-05-27 12:20:36 -05:00
phy-sun9i-usb.c phy: Add driver to support individual USB PHYs on sun9i 2015-04-03 18:16:19 +05:30
phy-ti-pipe3.c phy: ti-pipe3: fix suspend 2015-07-15 20:02:09 +05:30
phy-tusb1210.c phy: add driver for TI TUSB1210 ULPI PHY 2015-05-13 12:07:01 -05:00
phy-twl4030-usb.c phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function. 2015-06-01 16:08:24 +05:30
phy-xgene.c New Features 2015-04-10 13:47:50 +02:00
ulpi_phy.h phy: helpers for USB ULPI PHY registering 2015-05-13 12:06:56 -05:00