From patchwork Wed Jan 27 13:48:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judy Hsiao X-Patchwork-Id: 12055995 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 49CB8C433E0 for ; Fri, 29 Jan 2021 15:11:24 +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 B4C0064DE9 for ; Fri, 29 Jan 2021 15:11:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B4C0064DE9 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 4C7B0169A; Fri, 29 Jan 2021 16:10:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4C7B0169A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1611933082; bh=CNqvU2Xe1/20a8Y7ktndufUC8/M/ZJRqHZ7EBCsHUf8=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=k0yz+KlzMPxnl4oLx5x1LWmesxIl1HeMQHRs7Je+6TPuYTjeSanQC/48merfQlAaw vAGWYOvazOfMK+mSfUBmPpt5aL4r3uscR16aLubvZssYWKrzYF+Ndp5StvcRsoMJE1 M21Ir9Rs9SwyVBrzwNxy9khK3K0tpSj3L+fujN6E= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3E777F804AD; Fri, 29 Jan 2021 16:10:23 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 37603F80259; Wed, 27 Jan 2021 14:49:07 +0100 (CET) Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 B2D1DF800F0 for ; Wed, 27 Jan 2021 14:48:58 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B2D1DF800F0 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="S61Lkbap" Received: by mail-pg1-x532.google.com with SMTP id o7so1639403pgl.1 for ; Wed, 27 Jan 2021 05:48:58 -0800 (PST) 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=GOVWTXj4nljNWAGndXCSQhwNAHq21QwCCU0BbxAkemM=; b=S61LkbapPO5wtP/iFjrfZjum1CifQ43xjsAvvSgR3NC3FPrGogaH406qrml2pjzoVh UftzrJIcnVtQk82gWKk0Z14JBuNXV7Rit5kPBDuN1h3wHHVuNrVFfhCjMAWwvb9zTbAj 5e5elp2cAPtvAzQwy04ZpK80tqOai2dG1WoGc= 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=GOVWTXj4nljNWAGndXCSQhwNAHq21QwCCU0BbxAkemM=; b=FobvAdLJQS0tHwvmGE0k0UGI0w5z2Nis8GsBtL/jdm8x9ueoD/Y+X0NgZoNVgGc9jF m3Vtdvf/tXh69P87eNEytcy/8o+7m0crepa0020slAPDDVKqX9fLazymw9Bn/NeBFlK/ FEFTL2gmf1KYwcg0ekmKgZE1yQC2cHxCSW0JgNVYe/Ks5mfVSHnYKo6+ajsxexBFYcdt OyWchMKLr7btr/jUZAxV46ombcEA9esmjC+AmNaF722OMw+CEm1DeIWmANmkmYUtULcu Td5LZPio+W2XI5O9Xm44oIV5Qs4Kbe+ja+BP91/buvfWvNMnAwbQDOlvTmqYdQZUnDp3 dseg== X-Gm-Message-State: AOAM5305yBtyU2AoOm4WF/n4kDgCRGyYWFVmcid+8N50bKbCOVszBMj2 e8A4dSdAlXIz8VocdO5JrMwMSQ== X-Google-Smtp-Source: ABdhPJxj3AfmDtcS78/eiVZjOQCAdD1+dtFL9Ey808WBkRMOqWpHN+sUItYHU3PvPVP3A1f1np5O1g== X-Received: by 2002:a63:f953:: with SMTP id q19mr11222117pgk.120.1611755337075; Wed, 27 Jan 2021 05:48:57 -0800 (PST) Received: from judyhsiao-p920.tpe.corp.google.com ([2401:fa00:1:10:a53b:f71a:ed56:92d8]) by smtp.gmail.com with ESMTPSA id e12sm2653271pga.13.2021.01.27.05.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 05:48:56 -0800 (PST) From: Judy Hsiao To: linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: max98373: Fixes a typo max98373_feedback_get Date: Wed, 27 Jan 2021 21:48:47 +0800 Message-Id: <20210127134847.1143535-1-judyhsiao@chromium.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 29 Jan 2021 16:10:20 +0100 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, Judy Hsiao , tzungbi@chromium.org, Stephan Gerhold , linux-arm-msm@vger.kernel.org, Rob Herring , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, dianders@chromium.org, cychiang@google.com, Takashi Iwai , Mark Brown , Srini Kandagatla 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" From: Judy Hsiao The snd_soc_put_volsw in max98373_feedback_get is a typo, change it to snd_soc_gut_volsw. Signed-off-by: Judy Hsiao --- sound/soc/codecs/max98373.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 31d571d4fac1c..746c829312b87 100644 --- a/sound/soc/codecs/max98373.c +++ b/sound/soc/codecs/max98373.c @@ -190,7 +190,7 @@ static int max98373_feedback_get(struct snd_kcontrol *kcontrol, } } - return snd_soc_put_volsw(kcontrol, ucontrol); + return snd_soc_get_volsw(kcontrol, ucontrol); } static const struct snd_kcontrol_new max98373_snd_controls[] = {