]> git.ipfire.org Git - people/ms/linux.git/commit
clk: ux500: Drop .is_prepared state from PRCMU clocks
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 14 Apr 2022 22:17:49 +0000 (00:17 +0200)
committerStephen Boyd <sboyd@kernel.org>
Mon, 25 Apr 2022 23:17:24 +0000 (16:17 -0700)
commit00d08cd0bacb1cff0dca905859df68acb3f99107
treebde5416ff7cc9ac8a8c337c5956c05b3460edea4
parent801179b670be3ff5e07c76c00837615b7f481aec
clk: ux500: Drop .is_prepared state from PRCMU clocks

The core already keeps a software prepare count. Drop this
custom software prepare count.

The only semantic difference is that if disabling the clock
fails, .is_prepared() will still return 1, but this will only
serve to confuse the framework, the error message is
sufficient.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220414221751.323525-4-linus.walleij@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ux500/clk-prcmu.c