From patchwork Wed May 26 15:47:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judy Hsiao X-Patchwork-Id: 12282195 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AD23C47088 for ; Wed, 26 May 2021 15:48:22 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1EE3E61184 for ; Wed, 26 May 2021 15:48:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1EE3E61184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 D86EB1700; Wed, 26 May 2021 17:47:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D86EB1700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1622044098; bh=Bnk19/aXoEr8etWJI/KPqXrvK2N5PSBpG0dHhaaXb2Q=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=l70pqYCCuuFfBYYLEExbREnhxYKALMqcYiHPdcu3GRfTNAs0d8cwdGizKSdPC2xYY 5yataMAQUKRc8QcKc6dzp0hKQco+bLfjrAHiGtzy92spO7Y4eolrvS+ByGFnmHw2pA nQFxF0o7kvg+R4bUDlUtRxmAZEl85ZMutaa0RQH8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 58AF7F8011B; Wed, 26 May 2021 17:47:28 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2EF46F8025C; Wed, 26 May 2021 17:47:27 +0200 (CEST) Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (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 0D1B1F8024D for ; Wed, 26 May 2021 17:47:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0D1B1F8024D Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="YZVXRZQb" Received: by mail-pj1-x1034.google.com with SMTP id ot16so1018214pjb.3 for ; Wed, 26 May 2021 08:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y5Bgd0Jh4nDL9nxbYQPkXNJczysNVELPbL2b6pe0vik=; b=YZVXRZQbI8i/iFl06Wmwupv7VoVvO+LkA88TmHrBpNc5HmcF+NbaKX2TFhOM610pMQ pXpgHaJo6u7iq0DmOtJuOAjNRelr9HOVxQhnqZ+SPfkU6JyRr//jVwL1GOProkuEm2vu LnRLaWlOMtwbyBSClwdDseICaM6hWrZOwWD68= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y5Bgd0Jh4nDL9nxbYQPkXNJczysNVELPbL2b6pe0vik=; b=CeIheAWb+1G7u3na88CZ0i3s6z8Eq9onqyKI+AyZuaq//sJVBdW4ALinG9O8BI+xTc TjhRP8p4NVHM/1PqjtUTX57aVApZufn/08c6fpoT2RfTIKW9Vwv7wIjrrRbmTHnA8IGo DRKD+PWbGfy45LvkdY5Zq6uM+6qVzxli8PPZ6UvYZWHBS3mmRIX7imtSJdEKUb04rinB EUF/nOBLOO8FERwKO46owqkewkwWlliBR8kOj8MjE/k8vnl7FlYKx9glgbV3vM7uO/jy 1Td2xIE+rQcqzYIndKgY8S/HpfR+BivlgkhMqw8qfLk1OTZ5Vbp98hTG8FOf5qBZJlhb lwng== X-Gm-Message-State: AOAM531y1j4AD9lA234aUkA5hsJ9B4QPVbSI269AG2EKkBrBVjB3u4Eq yMJQBI8HKTBUT1uSZ4YLHB/4Eg== X-Google-Smtp-Source: ABdhPJwJ7oSD990XEzL/3FSdH74tC6Kpu2hlE7hlvuRBr87zJMb2XZIAZ4P6rxWAAh7RG/1HmDSbnA== X-Received: by 2002:a17:902:c213:b029:f0:bbdf:3852 with SMTP id 19-20020a170902c213b02900f0bbdf3852mr36626293pll.56.1622044034046; Wed, 26 May 2021 08:47:14 -0700 (PDT) Received: from judyhsiao-p920.tpe.corp.google.com ([2401:fa00:1:10:ef05:d69e:64e4:1d96]) by smtp.gmail.com with ESMTPSA id k21sm16830456pgb.56.2021.05.26.08.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 08:47:13 -0700 (PDT) From: Judy Hsiao To: broonie@kernel.org Subject: [PATCH] ASoC: max98357a: set channels_max to 4 Date: Wed, 26 May 2021 23:47:04 +0800 Message-Id: <20210526154704.114957-1-judyhsiao@chromium.org> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Cc: Taniya Das , alsa-devel@alsa-project.org, Banajit Goswami , Liam Girdwood , Rohit kumar , Patrick Lai , Andy Gross , dgreid@chromium.org, devicetree@vger.kernel.org, tzungbi@chromium.org, Stephan Gerhold , linux-arm-msm@vger.kernel.org, swboyd@chromium.org, Rob Herring , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, dianders@chromium.org, cychiang@google.com, Takashi Iwai , Judy Hsiao 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" Sets channels_max to 4 to support QUAD channel. Signed-off-by: Judy Hsiao --- sound/soc/codecs/max98357a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c index 918812763884..c3cf1743caad 100644 --- a/sound/soc/codecs/max98357a.c +++ b/sound/soc/codecs/max98357a.c @@ -117,7 +117,7 @@ static struct snd_soc_dai_driver max98357a_dai_driver = { .rate_min = 8000, .rate_max = 96000, .channels_min = 1, - .channels_max = 2, + .channels_max = 4, }, .ops = &max98357a_dai_ops, };