]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: samsung: avoid warning message on legacy Exynos (auto clock gating)
authorAndré Draszik <andre.draszik@linaro.org>
Fri, 9 Jan 2026 17:27:23 +0000 (17:27 +0000)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sat, 17 Jan 2026 19:25:56 +0000 (20:25 +0100)
commitaafaa4d875fb8ff525c514e69eb0440c69425c13
treef4836f2ef9305e7ee83614e0d432fb34c73b8a5d
parenteaf9206bf3d68f792ecd5e6f488eab1fb5afe900
clk: samsung: avoid warning message on legacy Exynos (auto clock gating)

We currently print a warning message that the IO memory size is not
compatible with automatic clock gating for many Exynos-based boards,
including legacy ones, even if not requested to enable automatic clock
gating in the first place.

Change the test in question to avoid that warning.

Fixes: 298fac4f4b96 ("clk: samsung: Implement automatic clock gating mode for CMUs")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Closes: https://lore.kernel.org/all/8b2c412d-3e1e-4be0-a9d5-ef67f6f0d409@samsung.com/
Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://patch.msgid.link/20260109-clk-samsung-autoclk-updates-v1-1-2394dcf242a9@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/clk/samsung/clk.c