summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-platform.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2017-03-13 07:25:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-17 05:35:25 +0100
commit42a58c9949ddf16e557f5c2e22566f3440e7b60f (patch)
tree5456e118c043cbb23d15a55f989ab8a2bd09272a /drivers/usb/host/ohci-platform.c
parentARM64: dts: marvell: armada-37xx: Add USB2 node (diff)
downloadlinux-42a58c9949ddf16e557f5c2e22566f3440e7b60f.tar.xz
linux-42a58c9949ddf16e557f5c2e22566f3440e7b60f.zip
usb: host: ehci-platform: set hcd->phy to avoid phy_get() in usb_add_hcd()
This patch sets hcd->phy from own phy context to avoid phy_get() in usb_add_hcd(). Since core/hcd.c manages the phy only in usb_add_hcd() and usb_remove_hcd(), there is difficult to manage the phy in suspend/resume. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-platform.c')
0 files changed, 0 insertions, 0 deletions