Re: MFD: mutex from ISR in ezx-pcap?

From: Daniel Ribeiro
Date: Mon Jun 29 2009 - 16:21:14 EST


Hi Jiri,

Em Seg, 2009-06-29 Ãs 21:34 +0200, Jiri Slaby escreveu:
> Hi,
>
> pcap_adc_irq tries to perform non-atomic operations in ISR which is not
> allowed. Above that, it may deadlock.
>
> Since all the operations there (read, write, mutex locking) may sleep,
> any objections to convert the ISR contents to a workqueue?

pcap_adc_irq actually already runs from a workqueue (pcap_isr_work).

--
Daniel Ribeiro

Attachment: signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagemassinada digitalmente