core: do not fail in device_probe() when clk set default fail
Assigned clocks are widely used in kernel, but not in U-Boot yet, many U-Boot clock driver do not have the API while dts port from kernel have "assigned-clocks" node. Just give a warning now instead of a device probe fail. Change-Id: Icc1da8bdd1a21d6d118e37d305bd7909758c40b2 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
b15a08dd68
commit
55e9fafcca
|
|
@ -407,7 +407,7 @@ int device_probe(struct udevice *dev)
|
|||
/* Process 'assigned-{clocks/clock-parents/clock-rates}' properties */
|
||||
ret = clk_set_defaults(dev);
|
||||
if (ret)
|
||||
goto fail;
|
||||
debug("%s clk_set_defaults failed %d\n", __func__, ret);
|
||||
|
||||
if (drv->probe) {
|
||||
ret = drv->probe(dev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue