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: 12282331 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=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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=ham 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 5D3C8C47089 for ; Wed, 26 May 2021 17:06:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 140AE613E1 for ; Wed, 26 May 2021 17:06:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 140AE613E1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yQAsWmao9TEbqyg56ie59c4+kFxe4bR/+k57l0uBqMM=; b=yhRcnoHFTPOIY+ /RyFXYV+YC8/hWMSF1GxeBxl1f2TMEcmleAXp9CvQghDtwm1ax1d2sxsa+aV7q5LGKcBMyABm6/Hc EMbZTy1dO7nDQ7+iZKf9HimfnSiwU/TajrlfYKAe+/uB1PtaWRXZCGyfnHdh8KbbaIUg0GirbqCoN hZ0iMtWHjVbxg5ZUacRpmYcJWU32fyanSgfsRjWD4SF3+1i+R5mcMsCyCYouZ32XCRaTtPR8UYR9k pgm3jxAkzuYcBRABBNI9qZKTqeId6Le376pQYzMd73+raJuY1a13puaOZcTc2lfsv+U6RYO4vK8hN 1HV1ICVGogVNdWsAtT+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1llwx0-00FxRz-VK; Wed, 26 May 2021 17:04:12 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1llvka-00FUby-0g for linux-arm-kernel@lists.infradead.org; Wed, 26 May 2021 15:47:17 +0000 Received: by mail-pj1-x1032.google.com with SMTP id t11so1040608pjm.0 for ; Wed, 26 May 2021 08:47:14 -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=c+k/HJdSTzg1rvD66/P7J8aBq+2pEQjdLd+Pg5ORb0zD5NudUBQm88gI8b0QjdPW0i 3ww4ELhAdYfmUDi1uGvPzs9vxO1Yb1I5kNpl66CkXEJCqmhVDtH6GphKrnryChTBzSqz kW91nPPBMC9Is19N5YXyZfEWy/GQeV/cK473r2KvwmUuKF70YO4P/f3p5HZIomOm6ZdK Y4lli0s5j4bvbD5/CyGHNHmElboDG3YSVGssjukaHdfaZecrJrl/Vg61di60e4ti6BiJ 3927aWZm8tvIEqGFBfZFOZUPD/kmOaoILoDi2barHRp71n9qx9soirLsuvfAk8BtWVO1 c3QA== X-Gm-Message-State: AOAM533eyDQBkuHz/kttRXZ+zkY/54E2YEncXYIbsHOdiEUkxmhrC6ID aRMOhME3EILQXnxwy3r9HKxBEQ== 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 Cc: Taniya Das , Rohit kumar , Banajit Goswami , Patrick Lai , Andy Gross , Bjorn Andersson , Liam Girdwood , Rob Herring , Jaroslav Kysela , Takashi Iwai , Srini Kandagatla , Stephan Gerhold , dianders@chromium.org, dgreid@chromium.org, cychiang@google.com, tzungbi@chromium.org, swboyd@chromium.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Judy Hsiao 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210526_084716_095504_E883952D X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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, };