aboutsummaryrefslogtreecommitdiff
path: root/sound/drivers
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-08-18 14:16:54 +0200
committerJaroslav Kysela <perex@perex.cz>2010-08-19 09:15:24 +0200
commitd7d28bc29f4ea7c2d23ed002a9973c64a92bcdb8 (patch)
tree74bd0f5fc69f1b2b937921d01dcc5e3b52b77efc /sound/drivers
parent597603d615d2b19a9e451d8cfac24372856a522d (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>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions