OSDN Git Service

clk: Document .is_enabled op
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 4 Oct 2012 06:38:53 +0000 (23:38 -0700)
committerMike Turquette <mturquette@linaro.org>
Mon, 29 Oct 2012 18:04:44 +0000 (11:04 -0700)
Add the missing kernel-doc for this op.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
include/linux/clk-provider.h

index c127315..2aa808b 100644 (file)
@@ -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.