]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: samsung: Fix m2m scaler clock on Exynos542x
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Fri, 29 Sep 2017 07:32:53 +0000 (09:32 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 29 Sep 2017 08:34:35 +0000 (10:34 +0200)
The TOP "aclk400_mscl" clock should be kept enabled all the time
to allow proper access to power management control for MSC power
domain and devices that are a part of it. This change is required
for the scaler to work properly after domain power on/off sequence.

Fixes: 318fa46cc60d ("clk/samsung: exynos542x: mark some clocks as critical")
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos5420.c

index 25601967d1cd6da55c733e41f1057670ae7ff87e..038701a2af4c7f555cf8e9db4a77f38ad9210d7a 100644 (file)
@@ -998,7 +998,7 @@ static const struct samsung_gate_clock exynos5x_gate_clks[] __initconst = {
        GATE(0, "aclk400_isp", "mout_user_aclk400_isp",
                        GATE_BUS_TOP, 16, 0, 0),
        GATE(0, "aclk400_mscl", "mout_user_aclk400_mscl",
-                       GATE_BUS_TOP, 17, 0, 0),
+                       GATE_BUS_TOP, 17, CLK_IS_CRITICAL, 0),
        GATE(0, "aclk200_disp1", "mout_user_aclk200_disp1",
                        GATE_BUS_TOP, 18, CLK_IS_CRITICAL, 0),
        GATE(CLK_SCLK_MPHY_IXTAL24, "sclk_mphy_ixtal24", "mphy_refclk_ixtal24",