commit | 5a47fa3d30b5d1977b4e7d1daf5ba5b577258ce1 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Thu Apr 16 23:54:04 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Apr 17 12:53:05 2009 +0200 |
tree | e189dcc05319e161ce51bc7cd47359fcfce66c36 | |
parent | 0882e8dd3aad33eca41696d463bb896e6c8817eb [diff] [blame] |
ALSA: emu10k1 - off by 1 in snd_emu10k1_wait() With `while (count++ < 16384)' count reaches 16385. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/pci/emu10k1/io.c b/sound/pci/emu10k1/io.c index 4bfc31d..c1a5aa1 100644 --- a/sound/pci/emu10k1/io.c +++ b/sound/pci/emu10k1/io.c
@@ -490,7 +490,7 @@ if (newtime != curtime) break; } - if (count >= 16384) + if (count > 16384) break; curtime = newtime; }