diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-01-08 10:43:01 +0300 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-01-08 10:46:45 +0300 |
commit | 7b3a177b0d4f92b3431b8dca777313a07533a710 (patch) | |
tree | 25a484491731ef31baa6a80f468ed78d6e553cd9 /sound/pci/ac97/ac97_patch.c | |
parent | 1250932e48d3b698415b1f04775433cf1da688d6 (diff) | |
download | linux-7b3a177b0d4f92b3431b8dca777313a07533a710.tar.xz |
ALSA: pcm_lib: fix "something must be really wrong" condition
When runtime->periods == 1 or when pointer crosses end of ring buffer,
the delta might be greater than buffer_size.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/ac97/ac97_patch.c')
0 files changed, 0 insertions, 0 deletions