mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01:00
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: Sebastian Hesselbarth <[email protected]> Reported-by: Michael Welling <[email protected]> Reported-by: Jean-Francois Moine <[email protected]> Reported-by: Russell King <[email protected]> Tested-by: Michael Welling <[email protected]> Tested-by: Jean-Francois Moine <[email protected]> Signed-off-by: Michael Turquette <[email protected]>