summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-03-12 15:24:26 +0400
committerFelipe Balbi <balbi@ti.com>2013-03-18 13:15:18 +0400
commitb54b5f56531d9fcbb30908373ba842af4de6a26b (patch)
treec498f3088cf73b86eba44c3bed3e1f5776ed0363 /drivers/usb/dwc3
parent0eba387973f521e57f00584e5e840e5328a61dda (diff)
downloadlinux-b54b5f56531d9fcbb30908373ba842af4de6a26b.tar.xz
USB: phy: nop: Defer probe if device needs VCC/RESET
Add 2 flags, needs_vcc and needs_reset to platform data. If the flag is set and the regulator couldn't be found then we bail out with -EPROBE_DEFER. For device tree boot we depend on presensce of vcc-supply/ reset-supply properties to decide if we should bail out with -EPROBE_DEFER or just continue in case the regulator can't be found. This is required for proper functionality in cases where the regulator is needed but is probed later than the PHY device. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
0 files changed, 0 insertions, 0 deletions