Skip to content
Commit f9c5d1db authored by Lucas Stach's avatar Lucas Stach Committed by Felipe Balbi
Browse files

usb: phy: phy-generic: propagate clk_get error if clock is required



If the clock handle is given in the DT, it means the clock is required
for proper operation of the PHY. In that case a failure to obtain the
clock must be propagated to stop the driver from probing. This fixes
working with clocks, which request probe deferral.

Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent bbb1cc05
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment