mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
ucm: fix enhanced ID parsing in snd_use_case_parse_ctl_elem_id()
Reported-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9447e57d7c
commit
1b436862ed
1 changed files with 1 additions and 1 deletions
|
|
@ -2793,7 +2793,7 @@ int snd_use_case_parse_ctl_elem_id(snd_ctl_elem_id_t *dst,
|
|||
strcmp(ucm_id, "CaptureSwitch"))
|
||||
return -EINVAL;
|
||||
snd_ctl_elem_id_clear(dst);
|
||||
if (strcasestr(ucm_id, "name="))
|
||||
if (strcasestr(value, "name="))
|
||||
return __snd_ctl_ascii_elem_id_parse(dst, value, NULL);
|
||||
iface = SND_CTL_ELEM_IFACE_MIXER;
|
||||
if (jack_control)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue