From: Valentine Barshak Date: Tue, 3 Dec 2013 21:42:21 +0000 (+0400) Subject: usb: hcd: Remove USB phy if needed X-Git-Tag: v3.14-rc1~148^2~130^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=103e127d1f8f985e8a662da6537ebc5e08902ee3;p=pandora-kernel.git usb: hcd: Remove USB phy if needed 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: Valentine Barshak Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed