android_kernel_sony_sdm845/drivers/clk/meson
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Martin Blumenstingl 8f04f67c3a clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
[ Upstream commit 2f290b7c67adf6459a17a4c978102af35cd62e4a ]

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: 7a29a86943 ("clk: meson: Add support for Meson clock controller")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20201226121556.975418-2-martin.blumenstingl@googlemail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-03 17:44:36 +01:00
..
clk-cpu.c clk: meson8b: clean up cpu clocks 2016-06-22 18:02:35 -07:00
clk-mpll.c clk: meson: add mpll support 2016-06-22 18:02:59 -07:00
clk-pll.c clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL 2021-03-03 17:44:36 +01:00
clkc.h gxbb: clk: Adjust MESON_GATE macro to be shared with meson8b 2016-09-01 17:42:41 -07:00
gxbb-aoclk.c clk: meson: Fix invalid use of sizeof in gxbb_aoclkc_probe() 2016-08-24 00:55:13 -07:00
gxbb.c clk: meson: gxbb: fix wrong clock for SARADC/SANA 2018-03-22 09:17:54 +01:00
gxbb.h clk: gxbb: expose i2c clocks 2016-09-14 11:24:04 -07:00
Kconfig clk: meson: meson8b: add compatibles for Meson8 and Meson8m2 2018-04-13 19:48:28 +02:00
Makefile clk: meson: Rename meson8b-clkc.c to reflect gxbb naming convention 2016-09-01 17:31:44 -07:00
meson8b.c clk: meson: meson8b: add compatibles for Meson8 and Meson8m2 2018-04-13 19:48:28 +02:00
meson8b.h meson: clk: Add support for clock gates 2016-09-01 17:43:12 -07:00