Re: [LinuxPPS] [PATCH 2/2] pps: new client driver using IRQs

From: Rodolfo Giometti
Date: Fri Apr 29 2011 - 04:26:42 EST


On Fri, Apr 29, 2011 at 08:29:55AM +0400, Igor Plyatov wrote:

>>> The latter will definitely mess things up, right?
>> I mean, one surely can register an IRQ resource with both flags set. And
>> if the underlying hardware works as it is described (i.e. raises an irq
>> on both edges) then it will be a problem.
>
> Please don't try to abandon one of ASSERT or CLEAR events!
> It is very useful to register both of them, because in this case its
> possible to measure pulse width and decode PPS signals like DCF77.

At this point I suppose we should add both ASSERT and CLEAR events...

Ciao,

Rodolfo

--

GNU/Linux Solutions e-mail: giometti@xxxxxxxxxxxx
Linux Device Driver giometti@xxxxxxxx
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/