OSDN Git Service

ucm: return error if boot_list is empty
authorHui Wang <hui.wang@canonical.com>
Thu, 29 Oct 2020 06:51:30 +0000 (14:51 +0800)
committerJaroslav Kysela <perex@perex.cz>
Tue, 13 Apr 2021 17:12:35 +0000 (19:12 +0200)
commit2368a95b8f100e0b6fdb332a5118fe6e5af12fb6
treeaa6795e47069b1f173d2e98f07877c7723cda92d
parent64680bb398e56f00d2bd8fb2df89b89afe81cef6
ucm: return error if boot_list is empty

If bootlist is empty, that means there is no BootSequence defined
in the ucm for this sound card, let set_boot_user() return error,
then alsactl could have chance to use non-ucm ways to initialize the
sound card.

BugLink: https://github.com/alsa-project/alsa-lib/pull/94
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/main.c