Messages in this thread | | | Date | Sun, 5 Oct 2008 21:55:55 +0200 | From | Haavard Skinnemoen <> | Subject | Re: [PATCH] Change comment in include linux/clk.h |
| |
Russell King <rmk+lkml@arm.linux.org.uk> wrote: > > I see several ARM implementation using mutexes for locking in these > > functions. So I assume we never want to call them from interrupt > > context, right? > > Correct. I'm not sure why anyone would even consider doing so.
I can't think of any reason to do so either, but having the comment there makes me feel safer about having calls that might sleep or irq-unsafe spinlocks in the implementation.
Haavard
| |