Re: [RFC PATCH 1/2] usb: hcd: Remove USB phy if needed

2013-11-06 Thread Valentine
On 11/06/2013 09:04 PM, Felipe Balbi wrote: Hi, On Wed, Nov 06, 2013 at 08:43:36PM +0400, Valentine wrote: On 11/06/2013 07:45 PM, Felipe Balbi wrote: Hi, On Wed, Nov 06, 2013 at 12:33:26AM +0400, Valentine Barshak wrote: This adds remove_phy flag to the HCD structure. If the flag is set and

Re: [RFC PATCH 1/2] usb: hcd: Remove USB phy if needed

2013-11-06 Thread Felipe Balbi
Hi, On Wed, Nov 06, 2013 at 08:43:36PM +0400, Valentine wrote: > On 11/06/2013 07:45 PM, Felipe Balbi wrote: > >Hi, > > > >On Wed, Nov 06, 2013 at 12:33:26AM +0400, Valentine Barshak wrote: > >>This adds remove_phy flag to the HCD structure. If the flag is > >>set and if hcd->phy is valid, the phy

Re: [RFC PATCH 1/2] usb: hcd: Remove USB phy if needed

2013-11-06 Thread Valentine
On 11/06/2013 07:45 PM, Felipe Balbi wrote: Hi, On Wed, Nov 06, 2013 at 12:33:26AM +0400, Valentine Barshak wrote: This adds remove_phy flag to the HCD structure. If the flag is set and if hcd->phy is valid, the phy is shutdown and released whenever usb_add_hcd fails or usb_hcd_remove is called

Re: [RFC PATCH 1/2] usb: hcd: Remove USB phy if needed

2013-11-06 Thread Alan Stern
On Wed, 6 Nov 2013, Felipe Balbi wrote: > Hi, > > On Wed, Nov 06, 2013 at 12:33:26AM +0400, Valentine Barshak wrote: > > This adds remove_phy flag to the HCD structure. If the flag is > > set and if hcd->phy is valid, the phy is shutdown and released > > whenever usb_add_hcd fails or usb_hcd_remo

Re: [RFC PATCH 1/2] usb: hcd: Remove USB phy if needed

2013-11-06 Thread Felipe Balbi
Hi, On Wed, Nov 06, 2013 at 12:33:26AM +0400, Valentine Barshak wrote: > This adds remove_phy flag to the HCD structure. If the flag is > set and if hcd->phy is valid, the phy is shutdown and released > whenever usb_add_hcd fails or usb_hcd_remove is called. > This can be used by the HCD drivers t