diff options
author | Claudiu Beznea <[email protected]> | 2023-05-30 12:39:08 +0300 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2023-06-16 21:52:49 -0700 |
commit | 2560114c06d7a752b3f4639f28cece58fed11267 (patch) | |
tree | 9f70708d44f98e5ab2f79ccaad294cf006ad3260 /lib/mpi/mpi-inline.h | |
parent | bb7d09ddbf361d51eae46f38e7c8a2b85914ea2a (diff) |
clk: si5341: return error if one synth clock registration fails
In case devm_clk_hw_register() fails for one of synth clocks the probe
continues. Later on, when registering output clocks which have as parents
all the synth clocks, in case there is registration failure for at least
one synth clock the information passed to clk core for registering output
clock is not right: init.num_parents is fixed but init.parents may contain
an array with less parents.
Fixes: 3044a860fd09 ("clk: Add Si5341/Si5340 driver")
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions