ucm: fix variable mixup

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.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Tanu Kaskinen 2015-02-10 22:42:32 +02:00 committed by Takashi Iwai
parent 4e398ddfcf
commit a540bb3f89

View file

@ -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);