diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-05-29 14:06:32 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-29 14:06:32 +0200 |
commit | d0a601c278de6876f36bcf1b7a9678d93d7dc67b (patch) | |
tree | 94c69b365ff6218706530d9be436e0adc7b630bb /sound/oss | |
parent | 28760c195e22856aedbacad5eb7b46ac1d76bb90 (diff) | |
download | op-kernel-dev-d0a601c278de6876f36bcf1b7a9678d93d7dc67b.zip op-kernel-dev-d0a601c278de6876f36bcf1b7a9678d93d7dc67b.tar.gz |
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: b8dd086674cf 'ALSA: Jack: handle jack embedded kcontrol creating within ctljack')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions