[alsa-devel] [PATCH 1/3] ucm: fix variable mixup
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Tue Feb 10 21:42:32 CET 2015
I assume the intention was to use cdev1 for PlaybackCTL and cdev2 for
CaptureCTL, but cdev1 was being used for both and cdev2 was not used
for anything.
---
src/ucm/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ucm/main.c b/src/ucm/main.c
index 182f174..3924aee 100644
--- a/src/ucm/main.c
+++ b/src/ucm/main.c
@@ -308,7 +308,7 @@ static int execute_sequence(snd_use_case_mgr_t *uc_mgr,
uc_error("cdev is not defined!");
return err;
}
- err = get_value3(&cdev1, "CaptureCTL",
+ err = get_value3(&cdev2, "CaptureCTL",
value_list1,
value_list2,
value_list3);
--
1.9.3
More information about the Alsa-devel
mailing list