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

2013-11-07 Thread Alan Stern
On Thu, 7 Nov 2013, 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 to auto-remove > the extern

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

2013-11-07 Thread Valentine Barshak
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 to auto-remove the external USB phy when it is no longer needed. Signed-off-by: