mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
ucm: fix the configuration directory (longname) for ucm2
The new ucm2 expects that the longname directory is shared with the driver directory. Fix that for 'Syntax 2'. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
a78dd1bd1e
commit
b34715004f
1 changed files with 3 additions and 1 deletions
|
|
@ -1649,7 +1649,9 @@ __longname:
|
|||
|
||||
if (err == 0) {
|
||||
/* got device-specific file that matches the card long name */
|
||||
snd_strlcpy(uc_mgr->conf_file_name, longname, sizeof(uc_mgr->conf_file_name));
|
||||
if (uc_mgr->conf_format < 2)
|
||||
snd_strlcpy(uc_mgr->conf_file_name, longname,
|
||||
sizeof(uc_mgr->conf_file_name));
|
||||
goto __parse;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue