]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: hcd: Initialize USB phy if needed
authorValentine Barshak <valentine.barshak@cogentembedded.com>
Tue, 3 Dec 2013 21:42:22 +0000 (01:42 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 02:00:51 +0000 (18:00 -0800)
commit1ae5799ef63176cc75ec10e545cb65f620a82747
tree93eb78ab6681ff47825fcb1e1dc98d86276cbdaa
parent103e127d1f8f985e8a662da6537ebc5e08902ee3
usb: hcd: Initialize USB phy if needed

This adds external USB phy support to USB HCD driver that
allows to find and initialize external USB phy, bound to
the HCD, when the HCD is added.
The usb_add_hcd function returns -EPROBE_DEFER if the USB
phy, bound to the HCD, is not ready.
If no USB phy is bound, the HCD is initialized as usual.

Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c