RE: [PATCH/RFC 1/2] usb: host: ehci-platform: set hcd->phy to avoid phy_get() in usb_add_hcd()

2017-03-12 Thread Yoshihiro Shimoda
Hi, > From: Alan Stern > Sent: Saturday, March 11, 2017 2:17 AM > > On Fri, 10 Mar 2017, Yoshihiro Shimoda wrote: > > > This patch sets hcd->phy from own phy context to avoid phy_get() > > in usb_add_hcd(). Since hcd.c manage the phy only in usb_add_hcd() > > and usb_remove_hcd(), there is diffi

Re: [PATCH/RFC 1/2] usb: host: ehci-platform: set hcd->phy to avoid phy_get() in usb_add_hcd()

2017-03-10 Thread Alan Stern
On Fri, 10 Mar 2017, Yoshihiro Shimoda wrote: > This patch sets hcd->phy from own phy context to avoid phy_get() > in usb_add_hcd(). Since hcd.c manage 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 Shim

[PATCH/RFC 1/2] usb: host: ehci-platform: set hcd->phy to avoid phy_get() in usb_add_hcd()

2017-03-10 Thread Yoshihiro Shimoda
This patch sets hcd->phy from own phy context to avoid phy_get() in usb_add_hcd(). Since hcd.c manage 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 --- drivers/usb/host/ehci-platform.c | 2 ++ 1 file c