From: Jaroslav Kysela Date: Tue, 5 Nov 2019 13:07:26 +0000 (+0100) Subject: ucm: small cosmetic uc_error change in execute_sequence() X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=5e8b913f1eaa88fc9947ec2e87adaa2b9a4e15dd;p=alsa-lib.git ucm: small cosmetic uc_error change in execute_sequence() Signed-off-by: Jaroslav Kysela --- diff --git a/src/ucm/main.c b/src/ucm/main.c index ecf59a9f..7aaf8588 100644 --- a/src/ucm/main.c +++ b/src/ucm/main.c @@ -387,14 +387,15 @@ static int execute_sequence(snd_use_case_mgr_t *uc_mgr, strcmp(playback_ctl, capture_ctl) != 0) { free(playback_ctl); free(capture_ctl); - uc_error("cdev is not defined!"); + uc_error("cdev is not equal for playback and capture!"); return -EINVAL; } if (playback_ctl != NULL) { cdev = playback_ctl; free(capture_ctl); - } else + } else { cdev = capture_ctl; + } } if (ctl == NULL) { err = uc_mgr_open_ctl(uc_mgr, &ctl, cdev);