Skip to content
Commit 0cd3be6e authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Michael Turquette
Browse files

clk: si5351: Do not pass struct clk in platform_data



When registering clk-si5351 by platform_data, we should not pass struct clk
for the reference clocks. Drop struct clk from platform_data and rework the
driver to use devm_clk_get of named clock references.

While at it, check for at least one valid input clock and properly prepare/
enable valid reference clocks.

Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Reported-by: default avatarMichael Welling <mwelling@ieee.org>
Reported-by: default avatarJean-Francois Moine <moinejf@free.fr>
Reported-by: default avatarRussell King <rmk+linux@arm.linux.org.uk>
Tested-by: default avatarMichael Welling <mwelling@ieee.org>
Tested-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
parent f94029d8
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