usb: dwc3: core: support optional PHYs
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 3 Mar 2014 11:38:10 +0000 (17:08 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 20:40:05 +0000 (14:40 -0600)
commit122f06e60f90a43d9b2fb30662af688dfb759379
treee22684f6565d224a3205e98c3cedf5ea3d9870a6
parent8d7212bc4107b343e93c13aa30c70b845f7f94ad
usb: dwc3: core: support optional PHYs

Since PHYs for dwc3 is optional (not all SoCs having PHYs for DWC3
should be programmed), do not return from probe if the USB PHY library
returns -ENODEV as that indicates the platform does not have a
programmable PHY.

While this can be considered as a temporary fix, a long term solution
would be to add 'nop' PHY for platforms that does not have programmable
PHY.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
This page took 0.032614 seconds and 5 git commands to generate.