[RFC,PATCH 1/2] Add a common struct clk

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jun 12 01:10:49 EDT 2010


> Using a mutex in clk_enable()/clk_disable() is a bad idea, since that
> makes it impossible to call those functions in interrupt context.

And doing clk_enable/clk_disable from interrupt context is a bad idea as
well :-)

Cheers,
Ben.





More information about the linux-arm-kernel mailing list