]> git.dujemihanovic.xyz Git - linux.git/commit
clk: Mention that .recalc_rate can return 0 on error
authorMaxime Ripard <maxime@cerno.tech>
Tue, 16 Aug 2022 11:25:09 +0000 (13:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 15 Sep 2022 16:30:28 +0000 (09:30 -0700)
commitf24a0b1c22c2e90abb4ee1f7a3b0f0d8fc2ede5f
treee2c1d147a497071aef2013c906f7d84927b8b885
parentfacf949b2e6934d381050417bf4e34b20c93be09
clk: Mention that .recalc_rate can return 0 on error

Multiple platforms (amlogic, imx8) return 0 when the clock rate cannot
be determined properly by the recalc_rate hook. Mention in the
documentation that the framework is ok with that.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220816112530.1837489-5-maxime@cerno.tech
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/linux/clk-provider.h