Messages in this thread | | | Date | Wed, 01 Jul 2009 08:56:10 +0200 | From | Jiri Slaby <> | Subject | Re: MFD: mutex from ISR in ezx-pcap? |
| |
On 06/30/2009 10:57 AM, Daniel Ribeiro wrote: > Em Ter, 2009-06-30 às 00:11 +0200, Jiri Slaby escreveu: >> so that >> pcap_adc_irq shouldn't sleep, right? Or maybe I missed something again... > > No. Interrupts are enabled again before pcap_adc_irq() runs. > > pcap_isr_work() doesn't call pcap_adc_irq directly, it calls the > irq_flow_handler, handle_simple_irq(), which needs to run with > interrupts disabled. Interrupts are enabled again on handle_IRQ_event(), > as pcap_adc_irq is requested _without_ IRQF_DISABLED.
Correct. Thanks for clarification. I posted at least a lock fix which made me poke in this all. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |