summaryrefslogtreecommitdiff
path: root/sound/drivers/virmidi.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-10-14 21:46:12 +0200
committerJaroslav Kysela <perex@perex.cz>2010-10-14 21:54:17 +0200
commit0db710230589b5571c23f59250eabc9504b17c98 (patch)
treedf808481c37cd38f1df0f1614313a0ba834ace32 /sound/drivers/virmidi.c
parent838c364ff05c143fd1810e8ad1469935d6c23a7a (diff)
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 'sound/drivers/virmidi.c')
0 files changed, 0 insertions, 0 deletions