ucm: fix optional include
A message that is not in the archive (sent off-list or not yet received): alsa-project/alsa-lib/pr/[email protected]
alsa-project/alsa-lib pull request #499 was opened from hyx0329:
The path is not an absolute path and can't be used with access(). Let's call uc_mgr_config_load_file() directly and mask acceptable error numbers. "conf.d in USB-Audio" needs this fix.
A small issue with current solution is verbose error message while it's okay. Example:
``` ALSA lib utils.c:XXX:(uc_mgr_config_load_into) [error.ucm] could not open configuration file /usr/share/alsa/ucm2/USB-Audio/conf.d/abcd-1234.conf ALSA lib parser.c:XXX:(uc_mgr_config_load_file) [error.ucm] failed to open file /usr/share/alsa/ucm2/USB-Audio/conf.d/abcd-1234.conf: -2 ```
Request URL : https://github.com/alsa-project/alsa-lib/pull/499
Patch URL : https://github.com/alsa-project/alsa-lib/pull/499.patch
Repository URL: https://github.com/alsa-project/alsa-lib