diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-06-26 06:59:57 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-06-26 06:59:57 +0200 |
commit | 7378bc2f19f841b25f1e27c7abce1ecc298f71f1 (patch) | |
tree | 8b79256e1f51cee31805bcc210d2bd39811662dd /crypto/crc32c_generic.c | |
parent | 650474fb737c3e0ea0f6ab8e43c2cd161080ce5c (diff) | |
download | linux-7378bc2f19f841b25f1e27c7abce1ecc298f71f1.tar.gz linux-7378bc2f19f841b25f1e27c7abce1ecc298f71f1.tar.xz |
ALSA: jack: Fix endless loop at unique index detection
While the commit [d0a601c278de: ALSA: jack: Fix the id uniqueness
check] fixes the wrong string check, it leads to a worse result -- the
loop in get_available_index() goes into an endless loop. The cause is
that snd_ctl_find_id() returns the object assigned to the numid if
it's set. Thus it points to the previous entry again.
This patch clears the numid field for the next call properly.
Reported-and-tested-by: Tomáš Pružina <pruzinat@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/crc32c_generic.c')
0 files changed, 0 insertions, 0 deletions