aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini2021-12-15 14:51:44 -0500
committerTom Rini2021-12-15 14:51:44 -0500
commit5b20efeafec0ebe0ee5742c611e4f2153346797a (patch)
tree2ad78099a2ce53f471be5cecdbe7fb2efa4f7b6d /include
parente09ca91cfa66fadb3b3e51f5bd9d15b1dfcc12d2 (diff)
parent560e1e005093b1d62c53391d68960237294e7f89 (diff)
Merge tag 'clk-2022.01-rc3' of https://source.denx.de/u-boot/custodians/u-boot-clk
Clock patches for v2022.01-rc3 This adds better logging support for many CCF drivers, and clarifies some documentation regarding clk_get_rate.
Diffstat (limited to 'include')
-rw-r--r--include/clk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clk.h b/include/clk.h
index a928879b122..df5255e510e 100644
--- a/include/clk.h
+++ b/include/clk.h
@@ -389,7 +389,8 @@ int clk_free(struct clk *clk);
*
* @clk: A clock struct that was previously successfully requested by
* clk_request/get_by_*().
- * @return clock rate in Hz, or -ve error code.
+ * @return clock rate in Hz on success, 0 for invalid clock, or -ve error code
+ * for other errors.
*/
ulong clk_get_rate(struct clk *clk);