linux-uconsole/drivers/usb/host
Frank Wang e4ec9fa3ca usb: ehci/ohci-platform: assigned hcd phy phandle at platform probe
In ehci/ohci-platform, phy_power_on() gets called twice at probe time,
one is at pdata->power_on(); another is in usb_add_hcd(). However,
phy_power_off() is only invoked one time when ehci/ohci-platform goes
to PM suspend. As a result, the phy power count become inconsistent.

This adds assigned phy phandle to hcd-phy at ehci/ohci-platform probe
time to prevent hcd invoking generic phy methods again when phy-cells
is 0 in DT.

Change-Id: I2f0cca622d31a46dea0b805b83b676cc78e4d67c
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2016-12-19 16:53:42 +08:00
..
whci USB: whci-hcd: add check for dma mapping error 2015-12-01 14:45:52 -08:00
bcma-hcd.c USB: bcma: add support for controlling bus power through GPIO 2015-07-22 15:43:34 -07:00
ehci-atmel.c USB: ehci-atmel: rework clk handling 2015-03-18 13:28:35 +01:00
ehci-dbg.c USB: ehci-dbg.c: move assignment out of if () block 2015-05-10 16:01:10 +02:00
ehci-exynos.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ehci-fsl.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ehci-fsl.h drivers: usb: fsl: Define usb control register mask for w1c bits 2015-07-22 16:44:35 -07:00
ehci-grlib.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ehci-hcd.c usb: ehci: change order of register cleanup during shutdown 2016-09-07 08:32:38 +02:00
ehci-hub.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ehci-mem.c USB: EHCI: don't allocate hardware periodic table atomically by default 2014-07-09 16:16:07 -07:00
ehci-msm.c usb: host: ehci-msm: fix handling platform_get_irq result 2015-10-04 10:59:03 +01:00
ehci-mv.c host: ehci-mv: remove duplicate check on resource 2014-11-07 09:01:50 -08:00
ehci-mxc.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ehci-omap.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ehci-orion.c usb: ehci-orion: fix probe for !GENERIC_PHY 2015-10-04 10:45:08 +01:00
ehci-pci.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ehci-platform.c usb: ehci/ohci-platform: assigned hcd phy phandle at platform probe 2016-12-19 16:53:42 +08:00
ehci-pmcmsp.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ehci-ppc-of.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ehci-ps3.c
ehci-q.c
ehci-rockchip.c usb: dwc_otg: build driver depends on arm or arm64 2015-05-20 21:30:05 +08:00
ehci-sched.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ehci-sead3.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ehci-sh.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ehci-spear.c usb: host: ehci-spear: Fix module autoload for OF platform driver 2015-10-04 10:51:58 +01:00
ehci-st.c usb: host: ehci-st: Simplify return statement 2015-08-05 12:37:21 -07:00
ehci-sysfs.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ehci-tegra.c usb: host: ehci-tegra: Grab the correct UTMI pads reset 2016-07-11 09:31:13 -07:00
ehci-tilegx.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ehci-timer.c
ehci-w90x900.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ehci-xilinx-of.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ehci.h rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ehci1-rockchip.c usb: ehci: rename hsic and HSIC to ehci1 and EHCI1 2015-06-08 22:23:26 +08:00
fhci-dbg.c drivers/usb/host/fhci-dbg.c: remove unnecessary null test before debugfs_remove 2014-07-09 16:13:03 -07:00
fhci-hcd.c usb: host: drop owner assignment from platform_drivers 2014-10-20 16:21:49 +02:00
fhci-hub.c fhci-hub: use USB_DT_HUB 2015-04-03 19:03:19 +02:00
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
fotg210-hcd.c dma: remove external references to dma_supported 2015-11-09 15:11:24 -08:00
fotg210.h usb/host/fotg210: Fix coding style issues 2015-10-16 23:46:22 -07:00
fsl-mph-dr-of.c usb: host: fsl-mph-dr-of: Fix module autoload for OF platform driver 2015-10-04 10:51:58 +01:00
hwa-hc.c USB: HWA: fix a warning message 2014-11-03 15:26:15 -08:00
imx21-dbg.c
imx21-hcd.c imx21-hcd: use USB_DT_HUB 2015-04-03 19:03:18 +02:00
imx21-hcd.h
isp116x-hcd.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
isp116x.h
isp1362-hcd.c isp1362-hcd: use USB_DT_HUB 2015-04-03 19:03:18 +02:00
isp1362.h
Kconfig rk: revert to v3.10 2015-11-11 15:57:28 +08:00
Makefile rk: revert to v3.10 2015-11-11 15:57:28 +08:00
max3421-hcd.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ohci-at91.c USB: host: ohci-at91: fix a crash in ohci_hcd_at91_overcurrent_irq 2015-12-04 08:19:55 -08:00
ohci-da8xx.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ohci-dbg.c USB: ohci-dbg.c: move assignment out of if () block 2015-05-10 16:01:11 +02:00
ohci-exynos.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ohci-hcd.c usb: increase ohci watchdog delay to 275 msec 2016-11-10 16:36:33 +01:00
ohci-hub.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ohci-jz4740.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ohci-mem.c USB: OHCI: add I/O watchdog for orphan TDs 2014-07-18 16:34:07 -07:00
ohci-nxp.c usb: host: lpc32xx: don't unregister phy device 2015-10-24 19:53:53 -07:00
ohci-omap.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ohci-omap3.c
ohci-pci.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ohci-platform.c usb: ehci/ohci-platform: assigned hcd phy phandle at platform probe 2016-12-19 16:53:42 +08:00
ohci-ppc-of.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ohci-ps3.c
ohci-pxa27x.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ohci-q.c USB: OHCI: Don't mark EDs as ED_OPER if scheduling fails 2016-08-10 11:49:24 +02:00
ohci-rockchip.c usb: rockchip: fix compilation error on arm 2015-05-20 22:09:32 +08:00
ohci-s3c2410.c ohci-s3c2410: use HUB_CHAR_* 2015-01-25 21:01:13 +08:00
ohci-sa1111.c
ohci-sm501.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ohci-spear.c usb: host: ohci-spear: Fix module autoload for OF platform driver 2015-10-04 10:51:58 +01:00
ohci-st.c usb: host: ohci-st: Add OHCI driver support for ST STB devices 2014-09-23 21:35:50 -07:00
ohci-tilegx.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
ohci-tmio.c USB: OHCI: fix bad #define in ohci-tmio.c 2015-07-22 14:49:42 -07:00
ohci.h rk: revert to v3.10 2015-11-11 15:57:28 +08:00
oxu210hp-hcd.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
oxu210hp.h
pci-quirks.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
pci-quirks.h
r8a66597-hcd.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
r8a66597.h
sl811-hcd.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
sl811.h
sl811_cs.c
ssb-hcd.c USB: ssb: use devm_kzalloc 2015-06-08 14:26:22 -07:00
u132-hcd.c mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd 2015-11-06 17:50:42 -08:00
uhci-debug.c
uhci-grlib.c usb: host: drop owner assignment from platform_drivers 2015-01-09 12:31:53 -08:00
uhci-hcd.c USB: UHCI: don't allocate frame list atomically 2014-07-09 16:16:07 -07:00
uhci-hcd.h
uhci-hub.c usb: generic resume timeout for v4.1 2015-04-10 13:45:27 +02:00
uhci-pci.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
uhci-platform.c usb: host: uhci-platform: Fix module autoload for OF platform driver 2015-10-04 10:51:58 +01:00
uhci-q.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
xhci-dbg.c xhci: Read and parse new xhci 1.1 capability register 2015-10-04 10:34:17 +01:00
xhci-ext-caps.h
xhci-hub.c xhci: use default USB_RESUME_TIMEOUT when resuming ports. 2016-11-10 16:36:33 +01:00
xhci-mem.c xhci: Make sure xhci handles USB_SPEED_SUPER_PLUS devices. 2016-09-07 08:32:40 +02:00
xhci-mvebu.c
xhci-mvebu.h
xhci-pci.c xhci: add restart quirk for Intel Wildcatpoint PCH 2016-11-10 16:36:34 +01:00
xhci-plat.c CHROMIUM: usb: xhci-plat: use usb_hcd_platform_shutdown() callback 2016-11-01 11:32:05 +08:00
xhci-rcar.c usb: host: xhci-plat: add support for the R-Car H2 and M2 xHCI controllers 2014-07-09 15:49:10 -07:00
xhci-rcar.h usb: host: xhci-plat: add support for the R-Car H2 and M2 xHCI controllers 2014-07-09 15:49:10 -07:00
xhci-ring.c CHROMIUM: xhci: fix hung task timeout when rm xhci-hcd 2016-11-13 17:20:34 +08:00
xhci-trace.c xhci: Export symbols used by host-controller drivers 2014-10-03 14:44:45 -07:00
xhci-trace.h tracing: Add TRACE_SYSTEM_VAR to xhci-hcd 2015-04-07 12:31:55 -04:00
xhci.c CHROMIUM: xhci: fix hung task timeout when rm xhci-hcd 2016-11-13 17:20:34 +08:00
xhci.h xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers 2016-05-04 14:48:41 -07:00