diff options
| author | Krzysztof Kozlowski <[email protected]> | 2024-07-22 06:33:09 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2024-07-23 18:29:23 +0000 |
| commit | f99b3feb3b0e9fca2257c90fc8317be8ee44c19a (patch) | |
| tree | c8c6b44fa777b455f19157cd7f4366bbf034ab5e /rust/helpers.c | |
| parent | clk: T-Head: Disable on 32-bit Targets (diff) | |
| download | kernel-f99b3feb3b0e9fca2257c90fc8317be8ee44c19a.tar.gz kernel-f99b3feb3b0e9fca2257c90fc8317be8ee44c19a.zip | |
clk: samsung: fix getting Exynos4 fin_pll rate from external clocks
Commit 0dc83ad8bfc9 ("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: 0dc83ad8bfc9 ("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]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
