Do not fail to attach the clock if we cannot set the assigned parents as this
property isn't mandatory. MFC after: 2 weeks
This commit is contained in:
parent
ad6d341799
commit
328dd395ba
@ -351,7 +351,7 @@ aw_ahbclk_attach(device_t dev)
|
||||
}
|
||||
|
||||
error = clk_set_assigned(dev, node);
|
||||
if (error != 0) {
|
||||
if (error != 0 && error != ENOENT) {
|
||||
device_printf(dev, "cannot set assigned parents: %d\n", error);
|
||||
goto fail;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user