Files
linux/drivers
Rodolfo Giometti 276b282e90 pps: events reporting fix up
PPS events must be recorded according to PPS's mode settings.

If a process asks for (i.e.) capture-assert events only, when the PPS
client calls the pps_event() function to save the current PPS event, we
should verify the event type and then discard unwanted ones.

Also, without this patch userland processes waiting for a specific PPS
event (assert or clear but not both) may be awakened at wrong time.

Signed-off-by: Rodolfo Giometti <[email protected]>
Tested-by: William S. Brasher <[email protected]>
Tested-by: Reg Clemens <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2009-11-12 07:26:01 -08:00
..
…
…
…
…
…
2009-11-04 14:04:06 +01:00
…
…
2009-11-02 22:12:37 -08:00
…
2009-11-12 07:25:57 -08:00
2009-10-15 09:58:27 -06:00
…
2009-11-12 07:26:01 -08:00
…
2009-11-12 07:25:59 -08:00
…
2009-10-31 12:11:38 -07:00
…
…
…
…
2009-10-04 22:53:41 +02:00
2009-10-04 15:05:10 -07:00
…
…