mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
Commit0dc83ad8bf("clk: samsung: Don't register clkdev lookup for the fixed rate clocks") claimed registering clkdev lookup is not necessary anymore, but that was not entirely true: Exynos4210/4212/4412 clock code still relied on it to get the clock rate of xxti or xusbxti external clocks. Drop that requirement by accessing already registered clk_hw when looking up the xxti/xusbxti rate. Reported-by: Artur Weber <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Fixes:0dc83ad8bf("clk: samsung: Don't register clkdev lookup for the fixed rate clocks") Cc: <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Artur Weber <[email protected]> # Exynos4212 Signed-off-by: Stephen Boyd <[email protected]>