aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 2aa808bdc257..e1d83b187df2 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -57,9 +57,9 @@ struct clk_hw;
57 * This function must not sleep. Optional, if this op is not 57 * This function must not sleep. Optional, if this op is not
58 * set then the enable count will be used. 58 * set then the enable count will be used.
59 * 59 *
60 * @recalc_rate Recalculate the rate of this clock, by quering hardware. The 60 * @recalc_rate Recalculate the rate of this clock, by querying hardware. The
61 * parent rate is an input parameter. It is up to the caller to 61 * parent rate is an input parameter. It is up to the caller to
62 * insure that the prepare_mutex is held across this call. 62 * ensure that the prepare_mutex is held across this call.
63 * Returns the calculated rate. Optional, but recommended - if 63 * Returns the calculated rate. Optional, but recommended - if
64 * this op is not set then clock rate will be initialized to 0. 64 * this op is not set then clock rate will be initialized to 0.
65 * 65 *
@@ -93,7 +93,7 @@ struct clk_hw;
93 * implementations to split any work between atomic (enable) and sleepable 93 * implementations to split any work between atomic (enable) and sleepable
94 * (prepare) contexts. If enabling a clock requires code that might sleep, 94 * (prepare) contexts. If enabling a clock requires code that might sleep,
95 * this must be done in clk_prepare. Clock enable code that will never be 95 * this must be done in clk_prepare. Clock enable code that will never be
96 * called in a sleepable context may be implement in clk_enable. 96 * called in a sleepable context may be implemented in clk_enable.
97 * 97 *
98 * Typically, drivers will call clk_prepare when a clock may be needed later 98 * Typically, drivers will call clk_prepare when a clock may be needed later
99 * (eg. when a device is opened), and clk_enable when the clock is actually 99 * (eg. when a device is opened), and clk_enable when the clock is actually