diff options
| author | Martin Blumenstingl <[email protected]> | 2020-12-26 13:15:54 +0100 |
|---|---|---|
| committer | Jerome Brunet <[email protected]> | 2021-01-04 11:42:25 +0100 |
| commit | 2f290b7c67adf6459a17a4c978102af35cd62e4a (patch) | |
| tree | 229e9083a49bfb60f1012eecdea46120feb62d12 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) | |
clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
The "rate" parameter in meson_clk_pll_set_rate() contains the new rate.
Retrieve the old rate with clk_hw_get_rate() so we don't inifinitely try
to switch from the new rate to the same rate again.
Fixes: 7a29a869434e8b ("clk: meson: Add support for Meson clock controller")
Signed-off-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions