From patchwork Mon Apr 8 09:08:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 10889045 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B5EA017E1 for ; Mon, 8 Apr 2019 09:10:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 999662861C for ; Mon, 8 Apr 2019 09:10:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DA3F28630; Mon, 8 Apr 2019 09:10:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EB1652861C for ; Mon, 8 Apr 2019 09:10:08 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C9723952; Mon, 8 Apr 2019 11:09:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C9723952 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1554714606; bh=tA1EEMGAZwggDo8LqIbjaUGKq6TKrvrvXvUz/Sgbo1E=; h=Date:From:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=oMNpMPduOSi6a2lhd5uVmC4L+jQkSYGz9smV2fNBMsP/32ItmpuYWAj9rkiFW30P9 K67PU9TE6Y0DdWgw4t84qQ0DCj930QiT15mwchdP2EyHM66IuZfS5p0i2LIrAZuLRc k2ihS6oX4o/OR+M1/nIJmOmv7GW7nNFULklW43RQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3E9D7F896DB; Mon, 8 Apr 2019 11:09:16 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6CB53F896DD; Mon, 8 Apr 2019 11:09:14 +0200 (CEST) Received: from mail-oi1-x249.google.com (mail-oi1-x249.google.com [IPv6:2607:f8b0:4864:20::249]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B7247F89618 for ; Mon, 8 Apr 2019 11:09:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B7247F89618 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="F7Pz2uon" Received: by mail-oi1-x249.google.com with SMTP id c21so5395982oig.20 for ; Mon, 08 Apr 2019 02:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=gGCJaubKogDWNbbYWQRJ6iE6DVrdp4oZvJtKAC+n4mM=; b=F7Pz2uoncRaeQlz3JYVCPo8j3+N+QH2qGSxDbLi5zwqnVeF2iBh0AUn2s4ozrMpmrh 3ZMP3hCc4YPjQ91e5VTXobdS4QLIzC/hfFzDxabJotGb6tCj5JXHS3Zwz7OBVRYv/wK7 Avsct205jl0J8R7oeBcRs2O0BMSzHgKSFDI5fSs9zmHhRb0Vh75mI3+pXcguHgTzE113 7T0KP3Ne3TTQH6v0zbBexKFDKdKorMoqKQjaumn6dH0HaOWUdE7nn/yo0OUGiuTCrJDi mtXoPABMo3Rr+bYtf7lt96k/F3LlfvTm5i5Nqqd+5Z5bSQQgZ5sc6sKncUGzQnotv/NY +fFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=gGCJaubKogDWNbbYWQRJ6iE6DVrdp4oZvJtKAC+n4mM=; b=tzhBYMGxJoL1OSxM3a49EE+5tO6mvPv8Y4O62be/WgoWzioZhHz7NMEgoyFFOAGfa6 +NLAG4fypaU33OTPMqnaCj1wO+madmAfzqcxLEEM5/+hYSwNp6ckV+8+hl1MgAfUPXlb 0zf3irvYbeNDCof7acZTS3YHO1DPkFQKIbuY5ktKuhbTMkLxVijOo8FqC0Wmmz4+kaUb 0+fE3XlJLmCEHL2oeIE+/4uwFOxMdf76+FWIfSwR1aukCB5HSrpNEd3QMPAsicSsawnV mO331enUnJOMt3ek1Mv7YRgDwRMeqyIyOGo9pUMVHeHeLDRuw5wDUhOC2eBFbddo7G2J EM9w== X-Gm-Message-State: APjAAAX9vtdCG2ZYXXuoYlgt3fQ5RxxK3mSdm3lTZPCfLeuj4SVRcU3L /6I0dnuzu3usot1wYUNw5nA1NSVpYwp+ X-Google-Smtp-Source: APXvYqwNt0ovW/2fL0ZwwFbCGfd9px/Vx+ecU1CgICXuFTzg65PmwGAOKpkDd2LHjSauEEynYhuOxRXVlh8e X-Received: by 2002:aca:b757:: with SMTP id h84mr2271811oif.10.1554714549419; Mon, 08 Apr 2019 02:09:09 -0700 (PDT) Date: Mon, 8 Apr 2019 17:08:58 +0800 Message-Id: <20190408090858.261269-1-tzungbi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog From: Tzung-Bi Shih To: broonie@kernel.org Cc: alsa-devel@alsa-project.org, cychiang@google.com, pierre-louis.bossart@linux.intel.com, liam.r.girdwood@linux.intel.com, tzungbi@google.com, dgreid@google.com Subject: [alsa-devel] [PATCH] ASoC: Intel: kbl: fix wrong number of channels X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP Fix wrong setting on number of channels. The context wants to set constraint to 2 channels instead of 4. Signed-off-by: Tzung-Bi Shih Acked-by: Pierre-Louis Bossart --- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c index 7044d8c2b187..879f14257a3e 100644 --- a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +++ b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c @@ -405,7 +405,7 @@ static const struct snd_pcm_hw_constraint_list constraints_dmic_channels = { }; static const unsigned int dmic_2ch[] = { - 4, + 2, }; static const struct snd_pcm_hw_constraint_list constraints_dmic_2ch = {