From patchwork Tue Feb 10 20:42:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanu Kaskinen X-Patchwork-Id: 5808911 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0086DBF440 for ; Tue, 10 Feb 2015 20:43:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 30C9C20173 for ; Tue, 10 Feb 2015 20:43:19 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 53A9C2012E for ; Tue, 10 Feb 2015 20:43:18 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5344626172B; Tue, 10 Feb 2015 21:43:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 1D98A26057A; Tue, 10 Feb 2015 21:42:51 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id EEFE826057D; Tue, 10 Feb 2015 21:42:47 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by alsa0.perex.cz (Postfix) with ESMTP id D8080260569 for ; Tue, 10 Feb 2015 21:42:40 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 10 Feb 2015 12:42:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,552,1418112000"; d="scan'208";a="650259839" Received: from tkkaskin-mobl3.ger.corp.intel.com (HELO tkkaskin-mobl3.ger.corp.intel.com.ger.corp.intel.com) ([10.252.8.251]) by orsmga001.jf.intel.com with ESMTP; 10 Feb 2015 12:42:38 -0800 From: Tanu Kaskinen To: alsa-devel@alsa-project.org Date: Tue, 10 Feb 2015 22:42:32 +0200 Message-Id: <1423600954-8751-2-git-send-email-tanu.kaskinen@linux.intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1423600954-8751-1-git-send-email-tanu.kaskinen@linux.intel.com> References: <1423600954-8751-1-git-send-email-tanu.kaskinen@linux.intel.com> Cc: tiwai@suse.de, liam.r.girdwood@linux.intel.com Subject: [alsa-devel] [PATCH 1/3] ucm: fix variable mixup X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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);