diff options
author | Valentine Barshak <valentine.barshak@cogentembedded.com> | 2013-12-04 01:42:21 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 18:00:51 -0800 |
commit | 103e127d1f8f985e8a662da6537ebc5e08902ee3 (patch) | |
tree | a9ae5594b47919a5bb652172abbb61c9e61d66b0 /lib/percpu-refcount.c | |
parent | e5fc70d5ccc3d005bb038c0275ffdf57a34b1496 (diff) | |
download | talos-op-linux-103e127d1f8f985e8a662da6537ebc5e08902ee3.tar.gz talos-op-linux-103e127d1f8f985e8a662da6537ebc5e08902ee3.zip |
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 <valentine.barshak@cogentembedded.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/percpu-refcount.c')
0 files changed, 0 insertions, 0 deletions