X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Flinux%2Fclk.h;h=778777316ea4bc3747983e2c9ed60ed5e1d321dc;hb=b8dfe498775de912116f275680ddb57c8799d9ef;hp=5ca8c6fddb56216291e5233c9b37cee09076b269;hpb=686f8c5d77149f78ff6090dde774b2e43a7319b2;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/clk.h b/include/linux/clk.h index 5ca8c6f..7787773 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -35,6 +35,8 @@ struct clk; * clk_get may return different clock producers depending on @dev.) * * Drivers must assume that the clock source is not enabled. + * + * clk_get should not be called from within interrupt context. */ struct clk *clk_get(struct device *dev, const char *id); @@ -76,6 +78,8 @@ unsigned long clk_get_rate(struct clk *clk); * Note: drivers must ensure that all clk_enable calls made on this * clock source are balanced by clk_disable calls prior to calling * this function. + * + * clk_put should not be called from within interrupt context. */ void clk_put(struct clk *clk);