diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-10-14 21:46:12 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-10-14 21:54:17 +0200 |
commit | 0db710230589b5571c23f59250eabc9504b17c98 (patch) | |
tree | df808481c37cd38f1df0f1614313a0ba834ace32 /drivers/char/dtlk.c | |
parent | ALSA: OSS mixer emulation - fix locking (diff) | |
download | linux-0db710230589b5571c23f59250eabc9504b17c98.tar.xz linux-0db710230589b5571c23f59250eabc9504b17c98.zip |
ALSA: snd-aloop - fix issue in the timer start function
In some circumstances (the rate shift value was changed), the irq_pos
value may be higher than the fraction value in the timer start function.
Check for it.
Also, to avoid value overflow, decrease maximum period size.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'drivers/char/dtlk.c')
0 files changed, 0 insertions, 0 deletions