mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04: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]>