diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-08-18 14:16:54 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-08-18 15:18:02 +0200 |
commit | bd76af0f87f7a1815b311bde269a3f18305b3169 (patch) | |
tree | 27f95b3e568146eed0958989f3f8d0c4eae3616b /lib/crc32defs.h | |
parent | e7cfbea9cb7a02ea29fdae5d39c9e3d09102c4d5 (diff) |
ALSA: pcm midlevel code - add time check for double interrupt acknowledge
The current code in pcm_lib.c do all checks using only the position
in the ring buffer. Unfortunately, where the interrupts gets delayed or
merged into one, we need another timing source to check when the
buffer size boundary overlaps to avoid the wrong updating of the
ring buffer pointers.
This code uses jiffies to check the right time window without any
performance impact.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/crc32defs.h')
0 files changed, 0 insertions, 0 deletions