commit | 42a58c9949ddf16e557f5c2e22566f3440e7b60f | [log] [tgz] |
---|---|---|
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | Mon Mar 13 15:25:23 2017 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 17 13:35:25 2017 +0900 |
tree | 5456e118c043cbb23d15a55f989ab8a2bd09272a | |
parent | 4fc056ed55d2378905983c753afa64fb2c7e7f29 [diff] |
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>