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: 12050167 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=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 5E851C433E6 for ; Wed, 27 Jan 2021 13:50:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 15E06207B5 for ; Wed, 27 Jan 2021 13:50:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231251AbhA0Nty (ORCPT ); Wed, 27 Jan 2021 08:49:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231516AbhA0Nth (ORCPT ); Wed, 27 Jan 2021 08:49:37 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E778C061574 for ; Wed, 27 Jan 2021 05:48:57 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id t29so1210125pfg.11 for ; Wed, 27 Jan 2021 05:48:57 -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=CJzTIGMS2U8pyKydh8sQR2Pmgi0xsCLB7DOkIRqbVD+t6B9XIUrdYdsTseiJ9uRYc4 YxhaTvCPlX/+ysTiEtstuzgLjVg9CrcYwaqwqatYAcv4fDLbUbY6hfdT8P3H4IHeKMdK nM4cGnuOCzmRnU8wMMRuDZkWMluj5mzSv2GHVSze7xq1wP5JZ0w2w7Mcq/Fhh7L1y+D1 nPzLRJd4nWkQMAiaMH5D1XkEq+ecS36ASngX0MsK5+uIPD4Zs8AiRBc2tLVFvdzuVeZo y1Cg25SEDkTsvTJp6080TtsBRfzLFaYkIkV3k4n1zWEXFBJv/TcMH3nLbjQoSpf0kO3R RMGA== X-Gm-Message-State: AOAM533ClANAtfhpgD6vu20MxBm8p5mdEgTbytu4D6eG834GohFCilxL eSS/DfPlvgM+/Otf/bZmVXh9mQ== 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 Cc: Mark Brown , 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, 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: 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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[] = {