From patchwork Mon Feb 13 09:36:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangweidong.a@awinic.com X-Patchwork-Id: 653500 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DACDEC636D7 for ; Mon, 13 Feb 2023 09:39:04 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A0FB082C; Mon, 13 Feb 2023 10:38:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A0FB082C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1676281142; bh=Tzyp9ZK1WEddWL/ysmPFF2ZBy5FIU97Ouva6h8DrHHM=; h=From:To:Subject:Date:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=l0sypPbNYPWB3Nr6pKQwAXZL1uLoNPua4MPOVP0Uk9UiK3NpRJVIbHPz4UIltiqQk tsvpu7TWpKAsjqauszwPDd7WY87x8IZL68Ql9hZgkmS1plIIGSyNalp1EibZ5x66wg 0Ff9uY3PR8VMvOubHTXSk4gjNxoguMVWP6OcTLHI= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7C3E1F804DA; Mon, 13 Feb 2023 10:37:24 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AEF5FF804B4; Mon, 13 Feb 2023 10:37:13 +0100 (CET) Received: from out28-197.mail.aliyun.com (out28-197.mail.aliyun.com [115.124.28.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7F243F800B0 for ; Mon, 13 Feb 2023 10:37:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7F243F800B0 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.09901703|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.0186795-0.00496536-0.976355; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047205; MF=wangweidong.a@awinic.com; NM=1; PH=DS; RN=21; RT=21; SR=0; TI=SMTPD_---.RKjcWil_1676281013; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.RKjcWil_1676281013) by smtp.aliyun-inc.com; Mon, 13 Feb 2023 17:36:55 +0800 From: wangweidong.a@awinic.com To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, krzysztof.kozlowski@linaro.org, rf@opensource.cirrus.com, pierre-louis.bossart@linux.intel.com, ckeepax@opensource.cirrus.com, shumingf@realtek.com, herve.codina@bootlin.com, james.schulman@cirrus.com, doug@schmorgal.com, yang.lee@linux.alibaba.com, trix@redhat.com, colin.i.king@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3][next] ASoC: codecs: Fixed a spelling error in the function name Date: Mon, 13 Feb 2023 17:36:47 +0800 Message-Id: <20230213093649.22928-2-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230213093649.22928-1-wangweidong.a@awinic.com> References: <20230213093649.22928-1-wangweidong.a@awinic.com> MIME-Version: 1.0 Message-ID-Hash: XXUR2WU4JM2BPMBITXMWQXQB4CFL2ZQS X-Message-ID-Hash: XXUR2WU4JM2BPMBITXMWQXQB4CFL2ZQS X-MailFrom: wangweidong.a@awinic.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: wangweidong.a@awinic.com, liweilei@awinic.com, zhaolei@awinic.com, yijiangtao@awinic.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Weidong Wang Change the function name aw88395_plack_event to aw88395_playback_event Signed-off-by: Ben Yi Signed-off-by: Weidong Wang --- sound/soc/codecs/aw88395/aw88395.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/aw88395/aw88395.c b/sound/soc/codecs/aw88395/aw88395.c index 16ca7ac5ad28..afdce6b7fa26 100644 --- a/sound/soc/codecs/aw88395/aw88395.c +++ b/sound/soc/codecs/aw88395/aw88395.c @@ -363,7 +363,7 @@ static const struct snd_kcontrol_new aw88395_controls[] = { aw88395_profile_get, aw88395_profile_set), }; -static int aw88395_plack_event(struct snd_soc_dapm_widget *w, +static int aw88395_playback_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *k, int event) { struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); @@ -388,7 +388,7 @@ static int aw88395_plack_event(struct snd_soc_dapm_widget *w, static const struct snd_soc_dapm_widget aw88395_dapm_widgets[] = { /* playback */ SND_SOC_DAPM_AIF_IN_E("AIF_RX", "Speaker_Playback", 0, 0, 0, 0, - aw88395_plack_event, + aw88395_playback_event, SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD), SND_SOC_DAPM_OUTPUT("DAC Output"), From patchwork Mon Feb 13 09:36:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangweidong.a@awinic.com X-Patchwork-Id: 653236 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7767EC636D4 for ; Mon, 13 Feb 2023 09:38:39 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8B18F20B; Mon, 13 Feb 2023 10:37:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8B18F20B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1676281116; bh=J6qxQBIjFxrqXByr6QtQR8A3Yluz5mnFuqM5ctPrhTE=; h=From:To:Subject:Date:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=POVY4ABO08UCP0Lxa3YrgHlGVHOKoxgZrVLMOZZiRkZFaj84+t04LEPpk8M0AQNF0 GP/csWzYajFLAHy6v3sEgwgJDX0ckJiTv2drPTd65lvfU02qq2U+wlbjcWX/7Ds3nK Qp5sGshoWcQCwDrTjW+Fl50fa9yXLrNwDbM+PJlg= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1209DF804B4; Mon, 13 Feb 2023 10:37:21 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 39B3CF804F2; Mon, 13 Feb 2023 10:37:12 +0100 (CET) Received: from out28-149.mail.aliyun.com (out28-149.mail.aliyun.com [115.124.28.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0B471F804B4 for ; Mon, 13 Feb 2023 10:37:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0B471F804B4 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1599715|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.00673938-0.000857743-0.992403; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047188; MF=wangweidong.a@awinic.com; NM=1; PH=DS; RN=21; RT=21; SR=0; TI=SMTPD_---.RKjcWmU_1676281015; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.RKjcWmU_1676281015) by smtp.aliyun-inc.com; Mon, 13 Feb 2023 17:36:56 +0800 From: wangweidong.a@awinic.com To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, krzysztof.kozlowski@linaro.org, rf@opensource.cirrus.com, pierre-louis.bossart@linux.intel.com, ckeepax@opensource.cirrus.com, shumingf@realtek.com, herve.codina@bootlin.com, james.schulman@cirrus.com, doug@schmorgal.com, yang.lee@linux.alibaba.com, trix@redhat.com, colin.i.king@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3][next] ASoC: codecs: Modify the log print statement Date: Mon, 13 Feb 2023 17:36:48 +0800 Message-Id: <20230213093649.22928-3-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230213093649.22928-1-wangweidong.a@awinic.com> References: <20230213093649.22928-1-wangweidong.a@awinic.com> MIME-Version: 1.0 Message-ID-Hash: ZFUC3LTS3PTBC6TOIA3YMTARTE2KWYCZ X-Message-ID-Hash: ZFUC3LTS3PTBC6TOIA3YMTARTE2KWYCZ X-MailFrom: wangweidong.a@awinic.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: wangweidong.a@awinic.com, liweilei@awinic.com, zhaolei@awinic.com, yijiangtao@awinic.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Weidong Wang Change hdrlen to hdr_len Signed-off-by: Ben Yi Signed-off-by: Weidong Wang --- sound/soc/codecs/aw88395/aw88395_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/aw88395/aw88395_lib.c b/sound/soc/codecs/aw88395/aw88395_lib.c index d7c31a202adc..05bcf49da857 100644 --- a/sound/soc/codecs/aw88395/aw88395_lib.c +++ b/sound/soc/codecs/aw88395/aw88395_lib.c @@ -932,7 +932,7 @@ static int aw_dev_check_cfg_by_hdr(struct aw_device *aw_dev, struct aw_container hdr_ddt_len = cfg_hdr->hdr_offset + cfg_hdr->ddt_size; if (hdr_ddt_len > aw_cfg->len) { - dev_err(aw_dev->dev, "hdrlen with ddt_len [%d] overflow file size[%d]", + dev_err(aw_dev->dev, "hdr_len with ddt_len [%d] overflow file size[%d]", cfg_hdr->hdr_offset, aw_cfg->len); return -EINVAL; } From patchwork Mon Feb 13 09:36:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangweidong.a@awinic.com X-Patchwork-Id: 653499 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 520A7C636D4 for ; Mon, 13 Feb 2023 09:39:32 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3517F82A; Mon, 13 Feb 2023 10:38:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3517F82A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1676281170; bh=KjwcqPPyVysCNEXgm49rjUUyqorecBzFx7iFhVajNwk=; h=From:To:Subject:Date:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=aFzUfZ4SKFDa32miRtI9Eool/m2uSzkDP1XJnM8F7qJLXHpzOJ3U9Z6askvQ6VLQ/ R3FQ+UIm5dW5cguX3/LX0Os1FMaHumrrDuXGGOqV6LvVpvRntF/lpIPFS8mgYqIOT7 C+6zlWaybFvFftZLGCfPHloopfVNR/w+0au9FET4= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 85B6DF8053B; Mon, 13 Feb 2023 10:37:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0B74FF804B0; Mon, 13 Feb 2023 10:37:16 +0100 (CET) Received: from out28-77.mail.aliyun.com (out28-77.mail.aliyun.com [115.124.28.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BFB35F804D6 for ; Mon, 13 Feb 2023 10:37:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BFB35F804D6 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1776371|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.0848819-0.000824855-0.914293; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047213; MF=wangweidong.a@awinic.com; NM=1; PH=DS; RN=21; RT=21; SR=0; TI=SMTPD_---.RKjcWqW_1676281017; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.RKjcWqW_1676281017) by smtp.aliyun-inc.com; Mon, 13 Feb 2023 17:36:58 +0800 From: wangweidong.a@awinic.com To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, krzysztof.kozlowski@linaro.org, rf@opensource.cirrus.com, pierre-louis.bossart@linux.intel.com, ckeepax@opensource.cirrus.com, shumingf@realtek.com, herve.codina@bootlin.com, james.schulman@cirrus.com, doug@schmorgal.com, yang.lee@linux.alibaba.com, trix@redhat.com, colin.i.king@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3][next] ASoC: codecs: Modify error implicit declaration of function 'gpiod_set_value_cansleep' Date: Mon, 13 Feb 2023 17:36:49 +0800 Message-Id: <20230213093649.22928-4-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230213093649.22928-1-wangweidong.a@awinic.com> References: <20230213093649.22928-1-wangweidong.a@awinic.com> MIME-Version: 1.0 Message-ID-Hash: FRSKFJ2CKQIWSDCOUIWGT4KIFF4SRZXI X-Message-ID-Hash: FRSKFJ2CKQIWSDCOUIWGT4KIFF4SRZXI X-MailFrom: wangweidong.a@awinic.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: wangweidong.a@awinic.com, liweilei@awinic.com, zhaolei@awinic.com, yijiangtao@awinic.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Weidong Wang Add select GPIOLIB to the sound/soc/codecs/Kconfig file Signed-off-by: Ben Yi Signed-off-by: Weidong Wang --- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index ab7b0696d01d..4621674e68bf 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -614,6 +614,7 @@ config SND_SOC_AW88395 select CRC8 select CRC32 select REGMAP_I2C + select GPIOLIB select SND_SOC_AW88395_LIB help this option enables support for aw88395 Smart PA.