summaryrefslogtreecommitdiffstats
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorStephen Boyd2012-10-04 08:38:53 +0200
committerMike Turquette2012-10-29 19:04:44 +0100
commit119c71276b43e3daf5e7b0661dcf63f224e2fc8d (patch)
treeee1d2004722387b52978d27560f6309e98e5b21c /include/linux/clk-provider.h
parentclk: SPEAr: Vco-pll: Fix compilation warning (diff)
downloadkernel-qcow2-linux-119c71276b43e3daf5e7b0661dcf63f224e2fc8d.tar.gz
kernel-qcow2-linux-119c71276b43e3daf5e7b0661dcf63f224e2fc8d.tar.xz
kernel-qcow2-linux-119c71276b43e3daf5e7b0661dcf63f224e2fc8d.zip
clk: Document .is_enabled op
Add the missing kernel-doc for this op. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index c12731582920..2aa808bdc257 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -53,6 +53,10 @@ struct clk_hw;
* @disable: Disable the clock atomically. Called with enable_lock held.
* This function must not sleep.
*
+ * @is_enabled: Queries the hardware to determine if the clock is enabled.
+ * This function must not sleep. Optional, if this op is not
+ * set then the enable count will be used.
+ *
* @recalc_rate Recalculate the rate of this clock, by quering hardware. The
* parent rate is an input parameter. It is up to the caller to
* insure that the prepare_mutex is held across this call.