]> git.alsa-project.org Git - alsa-gobject.git/commit
ctl: fix misfunction of alsactl_get_card_id_list() topic/fix-v0.2.1
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 15 Mar 2022 23:30:07 +0000 (08:30 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 15 Mar 2022 23:30:07 +0000 (08:30 +0900)
commit1dc331cc1746d3a24b4b93f2f5f43ca80cb100e4
treefd60ac58576ba227f20a663f9007ed82a175c38b
parentb37093c1ac01b0bb005a3ed9736763e49c979f50
ctl: fix misfunction of alsactl_get_card_id_list()

Even if instantiation of libudev enumerator is successful,
alsactl_get_card_id_list() handles the success as failure. As a result,
the function does not work at all.

This commit fixes the bug.

Fixes: bfe4b0589fc6 ("ctl/hwdep/rawmidi: fix uninitialized warning")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/ctl/query.c