Messages in this thread | | | Subject | Re: [RFC,PATCH 1/2] Add a common struct clk | From | Benjamin Herrenschmidt <> | Date | Sat, 12 Jun 2010 15:10:49 +1000 |
| |
> 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.
| |