[PATCH v2] clk: Revise help text for clk_get_parent_rate()

Alexander Dahl ada at thorsis.com
Fri May 3 09:20:09 CEST 2024


The function returns the rate of the parent clock, the previous text
made no sense at all.

Fixes: 4aa78300a025 ("dm: clk: Define clk_get_parent_rate() for clk operations")
Signed-off-by: Alexander Dahl <ada at thorsis.com>
Reviewed-by: Sean Anderson <seanga2 at gmail.com>
---

Notes:
    v2:
    - Collected tags

 include/clk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/clk.h b/include/clk.h
index af23e4f3475..045e923a529 100644
--- a/include/clk.h
+++ b/include/clk.h
@@ -444,7 +444,7 @@ ulong clk_get_rate(struct clk *clk);
 struct clk *clk_get_parent(struct clk *clk);
 
 /**
- * clk_get_parent_rate() - Get parent of current clock rate.
+ * clk_get_parent_rate() - Get rate of current clock's parent.
  * @clk:	A clock struct that was previously successfully requested by
  *		clk_request/get_by_*().
  *

base-commit: c92d48f8b2909d08584f17612a23d959467f14b8
-- 
2.39.2



More information about the U-Boot mailing list