]> git.baikalelectronics.ru Git - kernel.git/commit
clk: samsung: Keep top BPLL mux on Exynos542x enabled
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 7 Aug 2020 13:31:43 +0000 (15:31 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 15 Sep 2020 11:56:51 +0000 (13:56 +0200)
commitd53e17a77ae32c950faecbbbe3b930ae8b278618
tree2fe82d8d92da388b04e749cf2915921b7f02fed9
parentdd44bddf04c5fd83529b139fbfac0a5372c1a87d
clk: samsung: Keep top BPLL mux on Exynos542x enabled

BPLL clock must not be disabled because it is needed for proper DRAM
operation. This is normally handled by respective memory devfreq driver,
but when that driver is not yet probed or its probe has been deferred
the clock might get disabled what causes board hang. Fix this by calling
clk_prepare_enable() directly from the clock provider driver.

Cc: stable@vger.kernel.org
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Tested-by: Lukasz Luba <lukasz.luba@arm.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200807133143.22748-1-m.szyprowski@samsung.com
Fixes: a5656f9f1728 ("memory: Add DMC driver for Exynos5422")
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos5420.c