]> git.baikalelectronics.ru Git - kernel.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)
commit52b447489129e90ae871335262c2f7fd6af89470
treee2c1d147a497071aef2013c906f7d84927b8b885
parented6fc480e46fb8283f6332af1c073cc30b3d7174
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