Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

include/linux/clk.h: fix comment

clk_get and clk_put may not be used from within interrupt context. Change
comment to this function.

Signed-off-by: Alex Raimondi <raimondi@miromico.ch>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alex Raimondi and committed by
Linus Torvalds
f7ad160b 20036fdc

+4
+4
include/linux/clk.h
··· 35 35 * clk_get may return different clock producers depending on @dev.) 36 36 * 37 37 * Drivers must assume that the clock source is not enabled. 38 + * 39 + * clk_get should not be called from within interrupt context. 38 40 */ 39 41 struct clk *clk_get(struct device *dev, const char *id); 40 42 ··· 78 76 * Note: drivers must ensure that all clk_enable calls made on this 79 77 * clock source are balanced by clk_disable calls prior to calling 80 78 * this function. 79 + * 80 + * clk_put should not be called from within interrupt context. 81 81 */ 82 82 void clk_put(struct clk *clk); 83 83