diff options
author | Rodolfo Giometti <[email protected]> | 2009-11-11 14:26:54 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-11-12 07:26:01 -0800 |
commit | 276b282e904f690dc930f9bc946110651f297669 (patch) | |
tree | 7e50db4cee555f6044bd389452269d3c0fe45ed6 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | cbf83cc5a29dba480cf1ba1c5e3417a0d4a31410 (diff) |
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]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions