Skip to content
Commit d0a601c2 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: jack: Fix the id uniqueness check



snd_kctl_jack_new() tries to assign a unique index number when a name
string that has been already registered is passed.  However, it checks
with the base string without "Jack" suffix, so it never hits.
Fix the call with the properly processed name string instead.

Fixes: b8dd0866 'ALSA: Jack: handle jack embedded kcontrol creating within ctljack')
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 28760c19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment