From patchwork Fri Oct 6 13:46:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411612 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 B51E6E81DFD for ; Fri, 6 Oct 2023 13:48:34 +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 6D75886E; Fri, 6 Oct 2023 15:47:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6D75886E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696600112; bh=eObD6Y61uE/FIXO2g6KI1xEFA+/bAwbiQUGCINAWMC4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=gY7R3j+Cs+fOp+/xTuiBMMJK6Qf7VhRrx1E0+Jv3OQQQTRQP1mgZPFuotSbbLMMJ7 H1bNOrnQ6oGhzRJ0pKFDf6g67/Y6LJnPPGWfSgoJCTWG/Vv9edQf79NVe5EPvdUbrz D+SPYMFnKCkUCBULHe0boFEf40zj4Sje5g+PqQII= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4F619F80589; Fri, 6 Oct 2023 15:46:48 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B7689F80549; Fri, 6 Oct 2023 15:46:47 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B2B4CF80558; Fri, 6 Oct 2023 15:46:39 +0200 (CEST) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 37430F801EB for ; Fri, 6 Oct 2023 15:46:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 37430F801EB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Q34td4WN Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-504b84d59cbso2836102e87.3 for ; Fri, 06 Oct 2023 06:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599988; x=1697204788; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tcctjBppf75NLO6YkO8Pl2INJRmj2vKxlHT5saQtZoY=; b=Q34td4WNzCOg5YcBKPntcbxBMYz/KwwF4Wiq4CSDWLqYLoZRh9qAlvbQL1dT4DzMvC gDTdrzlgqWaROFN25qoTErvfiJ9apoTTh4gxgb/mJiAv/qjoOw6UQcEooAeTFqSJmrVA KsIK1rx0efPWo5f6Sq3C+W/hauHIv5nlMVN2FWPA+ycdbMaHJ4qFNNojMXu47shzXE8l RhMyCp80J2I9lQrduUgAsQXkcuyNehRUjRcMUOX66c4MlgRM2JyWKPF8xmzLzB0wQ2mh jad9F+0hIRbxdp84/CCUT+1eCM4oKBugTihIPLLIbq6n3jJFsEg3zyYFxRtMskNeKa5y CdGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599988; x=1697204788; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tcctjBppf75NLO6YkO8Pl2INJRmj2vKxlHT5saQtZoY=; b=QfktZWSyxuopjzRhUqDCkPfYxHcSn5o9xdet+NdJWsufkR0r6hok6DZHQnAluXlsZL mZb4Rg3SBplAT/L2hq7YLCntQZf/0r/JCOcSLAhf8Ord9ObE2W7pWHLxN17fRutpopSU c+6NhZ6SJwYokYsgEHk/jlQGwkpYrUe+x05RL9qfNgsQHh0E4YUQBQzewfertwzcuuaI 0QAM6XP+rf2t9mwg8N7hj8U8fmfjvYdWtO7YT5Pgyau8sZ29oNLqLAKKDA60HZQeoyRA zSyQkKD85MFo0VNXjNDqjIv0chAj3rUhtIGhnGJUjE4XpoeHqvn8M2p95g/W/iFW7K+D NGGQ== X-Gm-Message-State: AOJu0YxXfYf+C9n0RWoKvC57G76gxqNKtsuqFZUnBYcTr50wNdvgN/Yo 8TQB8UBwZGCfTqiNaXZwNND8nw== X-Google-Smtp-Source: AGHT+IGGfV3zI+nczOVhjRr4Mwdj1t6P4p9VuGFvQPwS1+LInpdbM8MctPtTPICaU62NLB0lwNF8YA== X-Received: by 2002:ac2:5f62:0:b0:4fe:5860:7abf with SMTP id c2-20020ac25f62000000b004fe58607abfmr5744253lfc.13.1696599988003; Fri, 06 Oct 2023 06:46:28 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:27 -0700 (PDT) From: Linus Walleij Date: Fri, 06 Oct 2023 15:46:24 +0200 Subject: [PATCH 1/8] gpiolib: of: Add quirk for mt2701-cs42448 ASoC sound MIME-Version: 1.0 Message-Id: <20231006-descriptors-asoc-mediatek-v1-1-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 Message-ID-Hash: 73JIKBOI2ZWFCUO7EQYZES4ROLX5M7PZ X-Message-ID-Hash: 73JIKBOI2ZWFCUO7EQYZES4ROLX5M7PZ X-MailFrom: linus.walleij@linaro.org 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 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: These gpio names are due to old DT bindings not following the "-gpio"/"-gpios" conventions. Handle it using a quirk so the driver can just look up the GPIOs. Signed-off-by: Linus Walleij Reviewed-by: AngeloGioacchino Del Regno Acked-by: Bartosz Golaszewski --- drivers/gpio/gpiolib-of.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index 531faabead0f..d9525d95e818 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -512,6 +512,10 @@ static struct gpio_desc *of_find_gpio_rename(struct device_node *np, #if IS_ENABLED(CONFIG_SND_SOC_CS42L56) { "reset", "cirrus,gpio-nreset", "cirrus,cs42l56" }, #endif +#if IS_ENABLED(CONFIG_SND_SOC_MT2701_CS42448) + { "i2s1-in-sel-gpio1", NULL, "mediatek,mt2701-cs42448-machine" }, + { "i2s1-in-sel-gpio2", NULL, "mediatek,mt2701-cs42448-machine" }, +#endif #if IS_ENABLED(CONFIG_SND_SOC_TLV320AIC3X) { "reset", "gpio-reset", "ti,tlv320aic3x" }, { "reset", "gpio-reset", "ti,tlv320aic33" }, From patchwork Fri Oct 6 13:46:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411611 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 AEE34E81DFE for ; Fri, 6 Oct 2023 13:48:24 +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 9F7E51F2; Fri, 6 Oct 2023 15:47:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9F7E51F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696600102; bh=/GsmH7kzfcZF2ucmFjRSn36eSIfc//rHDAM6A6m6M0o=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=TCg/vDwpQQClwzyoVkxMDbWS2gVdqmFyJGgelIJuiMwnlUiw50e6slUriZMvbvwmu aIu08NMK9wd6KRRqDILHNCh1I6wwRckgkhuJ7eetxUtRlg55Rtg9srXXkXapUwVKiF +gqpik2fkIW3CP8uL7/RnQLsPyl1VR55fFlsCBPY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 66AA8F80579; Fri, 6 Oct 2023 15:46:44 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id D3F4EF80568; Fri, 6 Oct 2023 15:46:43 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 83582F8055A; Fri, 6 Oct 2023 15:46:38 +0200 (CEST) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 A9AC3F8047D for ; Fri, 6 Oct 2023 15:46:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A9AC3F8047D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=tH5Kf923 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-5041d6d8b10so2782685e87.2 for ; Fri, 06 Oct 2023 06:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599989; x=1697204789; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Gs9kODHBf7pe1hvttMIGP4XQeIHebOI3TikCUwTzhsU=; b=tH5Kf923e4z5evzxnggkdigKSS7U74yYB8Rs9B+uahtMhkxC0VU3tcKWjsma7vCHuk ZTeX3wLpNQ+UZE+H0XhY8UFrz8zRdv+eAmoQ5asayHiYVZ7+HbmN8AI8MF3Bu3ivFQYv NvoSc7HYzOEdbd5ta216jV3Pyq7s1VVQGDE6/negWvQkkVSFHTM1FbTQjos3mUO6GTtQ gchfzudqZBna7YpGrANS0gZP9hbjoCJzWGrePZdbfm2gJbFtkan5q8VVQgry2vQtp8j4 3hVn/pdoP9hfYE8ZC+VunUWpuJ8b1KPHzp6hiA/+/jrJ1c2L6vsLPAquIYqyo80/g6XQ kihg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599989; x=1697204789; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Gs9kODHBf7pe1hvttMIGP4XQeIHebOI3TikCUwTzhsU=; b=O+XIBMS1hRx1fDMnKuu8Arq/Y8drngMm8eE30Eo5KrV2PzAtCn8WeMFla7O7TiS7C/ 3d4HMm7bggiR6+PP5pSEiUKefvP2RQTCme+u16NirD3jY7MGCvs/G0qQLyFCCrQDZPKW Ig+r3GC+iKHMN1YAEX5lwaYwENE0Pi+2Ps3LRagaNddbuLMGrT50TWlDTHDTE2EwAxLX 9gNEtcIquVYc6GQjFDppmtm1gPnaAXawTti1jvBBGZSXSpLaVs37CekVvoDsSuSRX+XH ZsVmp9prmMqDzUw0X/lyQNgxrJbq3Nqb654e5NuDejDiPWV8KZv0T8GZERgHVRsguv2B Jd1Q== X-Gm-Message-State: AOJu0YxMuN8f5ldEQ1AkDJ+kcwTqvn0jsLrNCrahoi8JYTTZkH0ij07u 6hV9N96lXgOwSlFTUv4mJMdhtl1an0WXNpb6x9M= X-Google-Smtp-Source: AGHT+IGilaqLsNAkpUFN8HUXTZkEVfQxXSILLUJqpOsm7o4gtJ9UIFBnw+6Mj0Tl221lqSmXK7G3yQ== X-Received: by 2002:a05:6512:238a:b0:502:a588:6609 with SMTP id c10-20020a056512238a00b00502a5886609mr9257631lfv.3.1696599989015; Fri, 06 Oct 2023 06:46:29 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:28 -0700 (PDT) From: Linus Walleij Date: Fri, 06 Oct 2023 15:46:25 +0200 Subject: [PATCH 2/8] ASoC: mediatek: mt2701-cs42448: Convert to GPIO descriptors MIME-Version: 1.0 Message-Id: <20231006-descriptors-asoc-mediatek-v1-2-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 Message-ID-Hash: JPBKRP4P37LAXNB25FJMWEMPWXCXNIBU X-Message-ID-Hash: JPBKRP4P37LAXNB25FJMWEMPWXCXNIBU X-MailFrom: linus.walleij@linaro.org 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 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: The driver is pretty straight-forward to convert to use GPIO descriptors, however a separate patch is needed to accept the DT GPIO resources ending with "-gpio1" and "-gpio2" instead of the standard "-gpio" or "-gpios" name convention. Signed-off-by: Linus Walleij Reviewed-by: Bartosz Golaszewski Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt2701/mt2701-cs42448.c | 54 ++++++++++++------------------ 1 file changed, 22 insertions(+), 32 deletions(-) diff --git a/sound/soc/mediatek/mt2701/mt2701-cs42448.c b/sound/soc/mediatek/mt2701/mt2701-cs42448.c index 08ef109744c7..81b695a19dc7 100644 --- a/sound/soc/mediatek/mt2701/mt2701-cs42448.c +++ b/sound/soc/mediatek/mt2701/mt2701-cs42448.c @@ -10,16 +10,15 @@ #include #include #include -#include +#include #include -#include #include "mt2701-afe-common.h" struct mt2701_cs42448_private { int i2s1_in_mux; - int i2s1_in_mux_gpio_sel_1; - int i2s1_in_mux_gpio_sel_2; + struct gpio_desc *i2s1_in_mux_sel_1; + struct gpio_desc *i2s1_in_mux_sel_2; }; static const char * const i2sin_mux_switch_text[] = { @@ -53,20 +52,20 @@ static int mt2701_cs42448_i2sin1_mux_set(struct snd_kcontrol *kcontrol, switch (ucontrol->value.integer.value[0]) { case 0: - gpio_set_value(priv->i2s1_in_mux_gpio_sel_1, 0); - gpio_set_value(priv->i2s1_in_mux_gpio_sel_2, 0); + gpiod_set_value(priv->i2s1_in_mux_sel_1, 0); + gpiod_set_value(priv->i2s1_in_mux_sel_2, 0); break; case 1: - gpio_set_value(priv->i2s1_in_mux_gpio_sel_1, 1); - gpio_set_value(priv->i2s1_in_mux_gpio_sel_2, 0); + gpiod_set_value(priv->i2s1_in_mux_sel_1, 1); + gpiod_set_value(priv->i2s1_in_mux_sel_2, 0); break; case 2: - gpio_set_value(priv->i2s1_in_mux_gpio_sel_1, 0); - gpio_set_value(priv->i2s1_in_mux_gpio_sel_2, 1); + gpiod_set_value(priv->i2s1_in_mux_sel_1, 0); + gpiod_set_value(priv->i2s1_in_mux_sel_2, 1); break; case 3: - gpio_set_value(priv->i2s1_in_mux_gpio_sel_1, 1); - gpio_set_value(priv->i2s1_in_mux_gpio_sel_2, 1); + gpiod_set_value(priv->i2s1_in_mux_sel_1, 1); + gpiod_set_value(priv->i2s1_in_mux_sel_2, 1); break; default: dev_warn(card->dev, "%s invalid setting\n", __func__); @@ -382,27 +381,18 @@ static int mt2701_cs42448_machine_probe(struct platform_device *pdev) return ret; } - priv->i2s1_in_mux_gpio_sel_1 = - of_get_named_gpio(dev->of_node, "i2s1-in-sel-gpio1", 0); - if (gpio_is_valid(priv->i2s1_in_mux_gpio_sel_1)) { - ret = devm_gpio_request(dev, priv->i2s1_in_mux_gpio_sel_1, - "i2s1_in_mux_gpio_sel_1"); - if (ret) - dev_warn(&pdev->dev, "%s devm_gpio_request fail %d\n", - __func__, ret); - gpio_direction_output(priv->i2s1_in_mux_gpio_sel_1, 0); - } + priv->i2s1_in_mux_sel_1 = devm_gpiod_get_optional(dev, "i2s1-in-sel-gpio1", + GPIOD_OUT_LOW); + if (IS_ERR(priv->i2s1_in_mux_sel_1)) + return dev_err_probe(dev, PTR_ERR(priv->i2s1_in_mux_sel_1), + "error getting mux 1 selector\n"); + + priv->i2s1_in_mux_sel_2 = devm_gpiod_get_optional(dev, "i2s1-in-sel-gpio2", + GPIOD_OUT_LOW); + if (IS_ERR(priv->i2s1_in_mux_sel_2)) + return dev_err_probe(dev, PTR_ERR(priv->i2s1_in_mux_sel_2), + "error getting mux 2 selector\n"); - priv->i2s1_in_mux_gpio_sel_2 = - of_get_named_gpio(dev->of_node, "i2s1-in-sel-gpio2", 0); - if (gpio_is_valid(priv->i2s1_in_mux_gpio_sel_2)) { - ret = devm_gpio_request(dev, priv->i2s1_in_mux_gpio_sel_2, - "i2s1_in_mux_gpio_sel_2"); - if (ret) - dev_warn(&pdev->dev, "%s devm_gpio_request fail2 %d\n", - __func__, ret); - gpio_direction_output(priv->i2s1_in_mux_gpio_sel_2, 0); - } snd_soc_card_set_drvdata(card, priv); ret = devm_snd_soc_register_card(&pdev->dev, card); From patchwork Fri Oct 6 13:46:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411616 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 98F13E81DFD for ; Fri, 6 Oct 2023 13:49:40 +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 D699E84B; Fri, 6 Oct 2023 15:48:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D699E84B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696600178; bh=X6ka0fokYeMm5as4cUEcHTb2khBCsJky52NkZLRweRg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Gfu/ttyshoG+kUoFO26hcI3fC6LpDSSrDAcHn4DVytu9gr+OS/Dv5BWOqRp00cLi4 ETNAAf//xbE9XqC9W13XfD9AHfID+FMnID53lyHGkH9UrAhDL/qnanSrINMYMHEUhU NaKvdnq9tBWrB0Q1ZRRX1ZRorrV3mLcTSJjXXLCU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B1C93F805C9; Fri, 6 Oct 2023 15:47:30 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 22C02F80551; Fri, 6 Oct 2023 15:47:30 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2BA52F805C3; Fri, 6 Oct 2023 15:47:27 +0200 (CEST) Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 C6D65F80310 for ; Fri, 6 Oct 2023 15:46:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C6D65F80310 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=p3lyk5Ml Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50481a0eee7so4027488e87.0 for ; Fri, 06 Oct 2023 06:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599990; x=1697204790; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rbOUvzEjDlea4hheqP+YItFqmSWqoancs5Dg0PuH8cA=; b=p3lyk5MlbBf/TBDaAvAlaPqC+CuM21dDQtRNHUhIN4FFeLMMbv5A809u95GfQXmhNj ZhiDHN/zzeZdGYUbT2S/FrmQLTMmwLgBq5bl3d3z2wAqEr+iik1megaTpVd3MmiEOVav pXKO+/wpR6J3nVFc0QOm/Z9Xkb6Lm+dc9vmdg7rdSlZnKK8Lq8Bm7UWO332S+Ytp+byi s9ETtlk4v5DrWFHFdYK75IDqr6n4Fd6R1GlVx6JdMI7xj3T2YYHv3GC5iz3k/4KekH18 LoajuKJY2hC4kNGHqSwrQ32OgDiINwbHSeLptzLFdWgNn/vVqatBVqjmn8CN0DWOLu3y QVuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599990; x=1697204790; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rbOUvzEjDlea4hheqP+YItFqmSWqoancs5Dg0PuH8cA=; b=du9/Rdxv3nEu5qa01OgEICwqARwy84JrVXhCZ2JV0bBLGLz93rqDojYTCkf53fGT5w +JEEit/5LF3Dz3iLC03wDUMxeSNzuXrdKEzbMKcOQGbR0vgYWw62h0mVmxSh+fosstHV s1LsSnXkUKdTGrD9G7pNySNR5TocgULVU6sOZ6qPAQsvur8dr+FKtfLr37TqJDKLK9vl PiNWZAp1ey1f6uqUGiMR2UT7CfwAuXxkjwfko03hDzVmB4nRmnCX8ev6V8e8/+QcWDtX RX718Y0t3D6yjWLMgkQerGziAlPWkK3ys32d8dj0kLVDPH24fEEJfdUj0kj7CHks3tCK uOKg== X-Gm-Message-State: AOJu0YwYft7Ai7Rp3nxU9A2D/FGkXqdkRkFGjSotz4v6LUk0wMD9HtOU kaFRxs87MCwWErJsIr5LGoXNZA== X-Google-Smtp-Source: AGHT+IE03cY9cbfFat4D3ognOlfRjSknFV24Pw5RSzWKwx+wwbMMYFomv7Z/+zEYe9XkBY/RRQgYGA== X-Received: by 2002:a05:6512:3e0d:b0:504:320a:b420 with SMTP id i13-20020a0565123e0d00b00504320ab420mr3957398lfv.17.1696599990012; Fri, 06 Oct 2023 06:46:30 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:29 -0700 (PDT) From: Linus Walleij Date: Fri, 06 Oct 2023 15:46:26 +0200 Subject: [PATCH 3/8] ASoC: mt8173-max98090: Drop unused include MIME-Version: 1.0 Message-Id: <20231006-descriptors-asoc-mediatek-v1-3-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 Message-ID-Hash: 2OCMVRRKIWUSO7EHVLCFDEBGI6HAIVNM X-Message-ID-Hash: 2OCMVRRKIWUSO7EHVLCFDEBGI6HAIVNM X-MailFrom: linus.walleij@linaro.org 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 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: This driver includes the legacy GPIO header but is not using any symbols from it. Drop the include. Signed-off-by: Linus Walleij Reviewed-by: AngeloGioacchino Del Regno Tested-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt8173/mt8173-max98090.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/mediatek/mt8173/mt8173-max98090.c b/sound/soc/mediatek/mt8173/mt8173-max98090.c index bfb2094758ff..0200da192116 100644 --- a/sound/soc/mediatek/mt8173/mt8173-max98090.c +++ b/sound/soc/mediatek/mt8173/mt8173-max98090.c @@ -9,7 +9,6 @@ #include #include #include -#include #include "../../codecs/max98090.h" static struct snd_soc_jack mt8173_max98090_jack; From patchwork Fri Oct 6 13:46:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411618 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 4555CE81DFE for ; Fri, 6 Oct 2023 13:50:15 +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 78ABA1ED; Fri, 6 Oct 2023 15:49:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 78ABA1ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696600213; bh=hNwobKa48WJv//EchZDoR3HbTlqXpOazNxNUHgFwOlg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=cnc3UscEAkDH9AWFMRhm18WEa4QtoocooYzEO9NJun40Crnmnxey6GBz5lW6k+KZP IJTar/A4wIJviOzSwPXaxLmkxiC5yjTmN5PRMcvzwep8v/fK6wYiNxUqyJoTpXJDGQ K1Ro14vgWI5uHfMWZE5cUYjhRD1jiqwVuP8Qc/gs= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8C39CF805E4; Fri, 6 Oct 2023 15:47:36 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1460CF805E4; Fri, 6 Oct 2023 15:47:36 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0FDFAF80558; Fri, 6 Oct 2023 15:47:29 +0200 (CEST) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 3F6FEF80551 for ; Fri, 6 Oct 2023 15:46:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3F6FEF80551 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=c3MT7Oyp Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5046bf37daeso2812076e87.1 for ; Fri, 06 Oct 2023 06:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599991; x=1697204791; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=yLHdfqqmxuwlIGJBiB8XcSmFMMCFwMYGv/NG27m7YvI=; b=c3MT7OypBKgNEHROtyVLUd6tAf1XC7qKoSzFaw9gUbRtnN/932+3mVLMldbozSAHda 9fD6Y/CsDcVtgqfnVZNGFfsjoWsg+O3sUFo6rBmide+6bYzQZQWInO/0+4Gj/Lr8p3W4 VcfSt4vlhg53oXl3UNf3eA5SK5LqS9ma2LhckV6DkEAbqlKquDsFZoaxQgHLj/PIC0Xn BikJ/w5XPCrnbo4U9zPa/je+jZjV5OTy3O/HUFgzMvO+Af3XXmVFKxhUxPHDZn31z83i VhiUJI3t1caSfnrIfgWGIjL73DSa60PRxDZDbNQFn75SYGLt8a7KUBJi5fnaxcCTxEiV 1HzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599991; x=1697204791; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yLHdfqqmxuwlIGJBiB8XcSmFMMCFwMYGv/NG27m7YvI=; b=XAv/nyiO/xb6tnx9IlhfiD0oS/Nxltw4aFSOrnykcTtIq8De/xnPJjdZZU15dWYbrS IbTE5m16ID2lIlmdqKB9NV91QknkgdHZ3X+F2RHAj22u3JHKcO3XcrWd/r4FjKruESwi UOp2Z0ginr4i0JXaL+vG8jPvHBfuycgz7vAhmdV/TxO2V4gK0JEXTaAfq5PZKGoqICiG 3i1n3d49UrwxrvvWon4aiSed2OtjsGBS1FC5Ku2lnFMkv+GmURpMWyyvADIvqGyEyHne 68j8zMzyld96CohOC5pf99C/8fxceNgo9KLBoXbEbnIlTSYYZaO67XVcjthYs61NMvbo xu4g== X-Gm-Message-State: AOJu0Yyn0O/z1fo+7KIucLd8Nx/5USYuyEBkY0jXSWwV6mufYXmcZH4a dp4ObfkPZhGLQvQ372FSXUjPQULvrkjEJuAv2dY= X-Google-Smtp-Source: AGHT+IHH6cMZMIc0p+3s1aNepbYLEIdwjOGFxWA8k3GZHEzIsKgLBMyNC5q7KJmT2KWbBpAGygbDMw== X-Received: by 2002:ac2:5e21:0:b0:502:ff3b:766f with SMTP id o1-20020ac25e21000000b00502ff3b766fmr6194209lfg.6.1696599991178; Fri, 06 Oct 2023 06:46:31 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:30 -0700 (PDT) From: Linus Walleij Date: Fri, 06 Oct 2023 15:46:27 +0200 Subject: [PATCH 4/8] ASoC: mt8173-rt5650-rt5514: Drop unused includes MIME-Version: 1.0 Message-Id: <20231006-descriptors-asoc-mediatek-v1-4-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 Message-ID-Hash: ZVQ2255CVDZTSAFXFNEYG3MAUXH6IAQE X-Message-ID-Hash: ZVQ2255CVDZTSAFXFNEYG3MAUXH6IAQE X-MailFrom: linus.walleij@linaro.org 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 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: This driver includes the legacy GPIO header and but does not use any symbols from either of them so drop the includes. Signed-off-by: Linus Walleij Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c index e502cd1670ba..0204b461e291 100644 --- a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c +++ b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c @@ -7,8 +7,6 @@ */ #include -#include -#include #include #include #include "../../codecs/rt5645.h" From patchwork Fri Oct 6 13:46:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411617 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 91B74E81DFD for ; Fri, 6 Oct 2023 13:50:03 +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 7A9711E4; Fri, 6 Oct 2023 15:49:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7A9711E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696600201; bh=+qUGSCcBcw0vkTZy6oiFlY8yvdezGr/iQ/Rfpk20Lsg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=pMaDWu/nzVKTEQwLqSAvBOxzQSjXgsJidit1unX9N28Okw3Vp9IuPSuLcSs1Eap7w /lu7DP90eHEXwXgvueMkQDScXhd7KLEPumSrEdkUZjJijRBJNSFVWnCuv8LRGDlCKi CqwL43IPmDgm0F13Pdck8PcxVdqy0Ts2o37dnfHs= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 88E82F8055A; Fri, 6 Oct 2023 15:47:34 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id CDEEEF80567; Fri, 6 Oct 2023 15:47:33 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 30E59F805C0; Fri, 6 Oct 2023 15:47:28 +0200 (CEST) Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4D7E4F80552 for ; Fri, 6 Oct 2023 15:46:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4D7E4F80552 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=ZizeInPa Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50567477b29so2795620e87.3 for ; Fri, 06 Oct 2023 06:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599992; x=1697204792; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4xkMTG9p1NQ0LVgSR1UXz8ORgmEVrpeNo+lHyOzhxw4=; b=ZizeInPaeHwVJzdVH54beTsru40funHrhFP+U+1aCahQQklHBQ5ir1cV4XXsJdjUgw x4fA9JWRCaQ3vPMgv0cngW6dRlW/tO9cah3o+o05Jhuo5ra5ZlK59a/1oosb9X5cgwXo w/aC0LwKxDvdbR9EQrqgTdawnbl+qcuVZlQYds793rzOnuJhY1S5f+lKS3rkxZmwK0CM KDmPR3p+kp8Zno2UUCY6PRTsBAAfbDpkZRhhICkUeSLp1mSSEE5Pj0WBwmmb7n2zvuTZ zMsHvUDKRq9f+u8ahFEHPH0Yser4vb9a2KVayemP852//qrTNMmUcQw9vE2PYg+Vu8Pw Tfow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599992; x=1697204792; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4xkMTG9p1NQ0LVgSR1UXz8ORgmEVrpeNo+lHyOzhxw4=; b=wefuWIxMSgUQx0vFs908smCcDQG6JpaREbvCnJin2brRUOpVujCs/CLdbD4NxoIp6s ku/TnNzPF72MvwGY7l/KiJQSA/HtccS4x+jr7zlQR9ZROvC3WoyUdB5FRTk2e//4v7az akrPIAPmJ54K5kKdx1ueTh9F6VlT1uKsMTGvgU3hmUk36B03J4ABuLboXLXjX6JrAILo rBOunRj3hhE3q+jyDFn5XhNExPQyJLu9iWrkKjXKdLoMQXyNTISiHJn1xIai6hVJ0mc1 3AHQtDsnlDmIqoxz2zRLEY6QwOXWEgGsYtoHJUbVYpbFMGvfq/gFxkDNp/lVNXrh7nsP ZCLA== X-Gm-Message-State: AOJu0YwM/hURKdt7jHLzJg6SE4XUSLw1TkbWRhpODBno4HAL5IgM4TL0 L6qtOPd95f0We0KGtEtJjCYg0g== X-Google-Smtp-Source: AGHT+IGJYZb0UTK80c9PKT/6qzBCUPzMqh8bJnRydOq6QDikSosdvO3Bu1DGtamtPk12vFlTYj1sEA== X-Received: by 2002:a05:6512:2811:b0:503:257a:7f5d with SMTP id cf17-20020a056512281100b00503257a7f5dmr9257925lfb.31.1696599992059; Fri, 06 Oct 2023 06:46:32 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:31 -0700 (PDT) From: Linus Walleij Date: Fri, 06 Oct 2023 15:46:28 +0200 Subject: [PATCH 5/8] ASoC: mt8173-rt5650-rt5676: Drop unused includes MIME-Version: 1.0 Message-Id: <20231006-descriptors-asoc-mediatek-v1-5-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 Message-ID-Hash: VPIKHZ7RHRLDZPTGPQNFO2XU6JEAEDTC X-Message-ID-Hash: VPIKHZ7RHRLDZPTGPQNFO2XU6JEAEDTC X-MailFrom: linus.walleij@linaro.org 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 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: This driver includes the legacy GPIO header and but does not use any symbols from either of them so drop the includes. Signed-off-by: Linus Walleij Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c index ffb094284bfb..351b586e01b0 100644 --- a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c +++ b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c @@ -7,8 +7,6 @@ */ #include -#include -#include #include #include #include "../../codecs/rt5645.h" From patchwork Fri Oct 6 13:46:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411613 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 BD152E81DFD for ; Fri, 6 Oct 2023 13:48:54 +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 141E7A4A; Fri, 6 Oct 2023 15:48:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 141E7A4A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696600133; bh=9suc3UfejIPKY7OwBn+Lm6Jg9BCLKsGCzscCZ7b+cSc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=WrmF3ZxyGoFnJx30OdSb7IW2sac8bEjYlUIB+BExidm1LFF2S5c7QtZjm6jdHcasG 4Oe1EOO3pLULzHj9pmLUZeXuMPFfmrKYmuZu6OCnkHAGcni0Dutf9TapRzJL/ntylu /t7F4pOdNI7W7Z0tJkJ7035x1wI64uRuIj6if1lc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 51753F805B0; Fri, 6 Oct 2023 15:46:50 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 76B86F805AE; Fri, 6 Oct 2023 15:46:49 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 15A9AF80549; Fri, 6 Oct 2023 15:46:41 +0200 (CEST) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 EDA21F80549 for ; Fri, 6 Oct 2023 15:46:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EDA21F80549 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=f0ubedzO Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50308217223so2667112e87.3 for ; Fri, 06 Oct 2023 06:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599993; x=1697204793; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=UKUwyfTTneTxSGqUZGpPDlenguAqMHPKsbdYxdaEdtE=; b=f0ubedzOrTuSk9soyGsAT51hW3ZWDNqBSDPhu9aa4ut4g/RqW3psQr9J0Dw2Gxp6lI JhcJdQgm9iyVKL2hxs/qYyZxGQLM6wtBSi7ZUdS09IgQRsGEttb92KHgLaDPtdYAhf/7 h6dcQySO7lNg9PKYhuhqjXs1RJgYo0iO5oAispybB8abrrjPP3KWYFHtWqtx+/B5EnYH Uct4uguwkBlaIGLeD3jxQ/A7t/ChapvUv1baG2F524mnH7YUJ7eMbfeFVOyadCNJm+fW tTgM5Gu18kv/q31fKdVEbfZ+4G5OHIrtQppyq+0I40wizVUGoE1W5beAM3G1y0AIb4Ya 9v9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599993; x=1697204793; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UKUwyfTTneTxSGqUZGpPDlenguAqMHPKsbdYxdaEdtE=; b=O4w09Tkc+suAiMzJfDEOMTl1SoMPmPkAdeATvtlxik2VQdkFhlFWJOe+fk5CAgnl/S cutkX71jWgOQdeX6V8EX047QNgkKA5P4lrythBbHaxEKhxVEBfENv5U1I1tkyL1ttY3P PTIzue0ClsPgSJtJG61xI/LhPaAHbZmjqnB8WM49+gB1R7SUCKnCOZPsPWTgQqGit3TU YfOZzsHiUNKtZDkNd15oJ06707yz5ynJcf/cAbyppdlcI9HaaDV5mPfPNwKZVfXtuKwA lAEprMBbgQZlBh/yMuC1p9KwnCJzqMbfR3NT6V/XZbBOa50uM8nVNQm4tlZWXnI4QFSB G68g== X-Gm-Message-State: AOJu0YzmZN8+1vRL25XF3q/RiLJZ7powbN/yNwQSGF15lGJBaUYYkc8Z N3V159K1Vkgyc6w26HHU7byCeAC3sGu4AAms8zM= X-Google-Smtp-Source: AGHT+IGcwLvp1n+5FWSbw9bTwDxtSAgSpZp4HVrtvVLTsDkaltU0mqZDETpn1S5AIg0T9GnwoZL/uA== X-Received: by 2002:a05:6512:280d:b0:501:bee7:487b with SMTP id cf13-20020a056512280d00b00501bee7487bmr8096933lfb.11.1696599992987; Fri, 06 Oct 2023 06:46:32 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:32 -0700 (PDT) From: Linus Walleij Date: Fri, 06 Oct 2023 15:46:29 +0200 Subject: [PATCH 6/8] ASoC: mt8173-rt5650: Drop unused includes MIME-Version: 1.0 Message-Id: <20231006-descriptors-asoc-mediatek-v1-6-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 Message-ID-Hash: 6P5WYPMW4HR3GSFW6HTVQM5QDITLPDGQ X-Message-ID-Hash: 6P5WYPMW4HR3GSFW6HTVQM5QDITLPDGQ X-MailFrom: linus.walleij@linaro.org 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 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: This driver includes the legacy GPIO header and but does not use any symbols from either of them so drop the includes. Signed-off-by: Linus Walleij Reviewed-by: AngeloGioacchino Del Regno Tested-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt8173/mt8173-rt5650.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650.c b/sound/soc/mediatek/mt8173/mt8173-rt5650.c index 18cf84bb25c7..bcec1d9d790b 100644 --- a/sound/soc/mediatek/mt8173/mt8173-rt5650.c +++ b/sound/soc/mediatek/mt8173/mt8173-rt5650.c @@ -7,8 +7,6 @@ */ #include -#include -#include #include #include #include "../../codecs/rt5645.h" From patchwork Fri Oct 6 13:46:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411614 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 4C961E81DFE for ; Fri, 6 Oct 2023 13:49:15 +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 15E96DEC; Fri, 6 Oct 2023 15:48:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 15E96DEC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696600153; bh=Rapf7G2GGMS6FT9ZDrWPAIHqnVm5fen9QWYbaauW6Cg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=UTlwPLWC9GgjhMeb6Dlrf1WmgYSD1CINtZVlt3Jaa3/MnztSzv5SyO6R83N0ax8Lm u8s2jSf9Ku4QMc0X99oYb3cMCUM1Gl7oxCaH09ZsIbEJ/iFkoLxFWUoFaUGUYlmAnU JRfkfTLr9qdjpV8Wx1L+oOU5zoSRAS/xmiZ5u3io= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7BBFBF805BA; Fri, 6 Oct 2023 15:46:53 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id D1E05F805BB; Fri, 6 Oct 2023 15:46:52 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6F018F80568; Fri, 6 Oct 2023 15:46:42 +0200 (CEST) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 C474DF80130 for ; Fri, 6 Oct 2023 15:46:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C474DF80130 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=lXyZK8rp Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-50337b43ee6so2777236e87.3 for ; Fri, 06 Oct 2023 06:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599994; x=1697204794; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Asgb8OAKdQDCRC4VclzbwAu62WhyUIsTAbJjeqQexwE=; b=lXyZK8rp/REX/Vg1lRecvV/I2qUcLnjO79CRH3q/tCzj4aaHAeBysfa6MO5DodrH1k r34rf7BR0fzLbWNm4mglmpQbgWKP98h4Cka60cqnaMrz+DGATcxeLrIyyHUPpr3va7T+ lhlbKAyUurWyd8VXZUtYF4WLWMirnWmxPB0xPW2pwn3ceRwDhHzgaSqLwQ8zx72hmAvq ReiilGk2TOZOpathIui0Oz1VMrnANojdSFaWt5tcknxFPetkZJkNa9DfmUdYpnQQBz65 qlMAao0qYwBPL92z1vrIAeS4dAULuwFcecR4qwqt8HLjLaS0XiS83X/Vy71l0/ABdwEB 2KHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599994; x=1697204794; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Asgb8OAKdQDCRC4VclzbwAu62WhyUIsTAbJjeqQexwE=; b=bgba7Q96T0xgH8GlT+yp8F7pk4/s3tUMhzwxxVsOeTuoVrNu9GhGaqCIeeaqAQS9/+ vSqP+MZW5dtxCpR5cywPRSN04Rq8IU8C4FU5j92Wd4bf/68f3Nlzn64c68m6Sce8zdmh CShCo2Ql2TBQi8A76nLMgvYsm9uGCifCDUPYfrHbomnIj3jCdNZk1ipXt8ptWRY/bsBq tRlWkz2z/4RF8Le7mFVEI+lPzbDN1P36gB5LpM/3o2YGdv/R3zxifB1CqRWcdXLDEhd5 nReCs1+RZMpwQI1BfxtcdzXpI1Xu0tEw4oJtIYCRaQNIAAAN8QxHLyoaC1DCKEvtaqer yUdA== X-Gm-Message-State: AOJu0YwEPKa5OQXhi9AOW9MoSbA0xieomZ9MSbv4Wqk8CEaMbEmO3ydU YUd9zXHipHcuPT6n+C0kVI0FWw== X-Google-Smtp-Source: AGHT+IGQ+oeljBRtveNq+5wlJ3DdWNUKKe6FvbxRXepDt1efr2ZvhVToivpHhLNanf/lPPVIIHZ25g== X-Received: by 2002:ac2:5b02:0:b0:500:bb99:69a7 with SMTP id v2-20020ac25b02000000b00500bb9969a7mr6257290lfn.14.1696599994019; Fri, 06 Oct 2023 06:46:34 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:33 -0700 (PDT) From: Linus Walleij Date: Fri, 06 Oct 2023 15:46:30 +0200 Subject: [PATCH 7/8] ASoC: mt8186-mt6366-rt1019-rt5682s: Drop unused include MIME-Version: 1.0 Message-Id: <20231006-descriptors-asoc-mediatek-v1-7-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 Message-ID-Hash: QABSSSV4SFEOOT5EJIPCEFN7F53CJWEB X-Message-ID-Hash: QABSSSV4SFEOOT5EJIPCEFN7F53CJWEB X-MailFrom: linus.walleij@linaro.org 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 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: This driver includes the legacy GPIO header but is not using any symbols from it. AFE has a custom GPIO implementation that is not using the kernel GPIO framework, so it need not include it either. Signed-off-by: Linus Walleij Reviewed-by: AngeloGioacchino Del Regno Tested-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt8186/mt8186-afe-gpio.c | 1 - sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 1 - 2 files changed, 2 deletions(-) diff --git a/sound/soc/mediatek/mt8186/mt8186-afe-gpio.c b/sound/soc/mediatek/mt8186/mt8186-afe-gpio.c index f12e91cc4fcf..9e86e7079718 100644 --- a/sound/soc/mediatek/mt8186/mt8186-afe-gpio.c +++ b/sound/soc/mediatek/mt8186/mt8186-afe-gpio.c @@ -5,7 +5,6 @@ // Copyright (c) 2022 MediaTek Inc. // Author: Jiaxin Yu -#include #include #include "mt8186-afe-common.h" diff --git a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c b/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c index 9c11016f032c..87ec39a5e1f4 100644 --- a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c +++ b/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c @@ -7,7 +7,6 @@ // Author: Jiaxin Yu // -#include #include #include #include From patchwork Fri Oct 6 13:46:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411615 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 E9D25E81DFD for ; Fri, 6 Oct 2023 13:49:22 +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 4ECE8A4E; Fri, 6 Oct 2023 15:48:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4ECE8A4E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696600161; bh=D5wJF8Kl+0W+9ZF9ftGiGUTlc1RzB7q5Omx1h3kSWM8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Q6sbRfLDNYJvjvHfM9so5Cwg81Gawa2RxO5MpwbL7Qhw7XOLSdBDTIDrfadFSoXI4 L78XU+ZGhyuukZhpOE2JqyyaxDta2e7iMR9iXfZBnc7BfwiuB/RUzbjzYZRkKUA/Hv x7Wx0uo939R61L4dnV0yKSMsl9wvS+/3DPe05QV0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C311EF805C1; Fri, 6 Oct 2023 15:46:54 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 86CC8F805C1; Fri, 6 Oct 2023 15:46:54 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 292B0F8055C; Fri, 6 Oct 2023 15:46:43 +0200 (CEST) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 D814AF80557 for ; Fri, 6 Oct 2023 15:46:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D814AF80557 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=t5CathXC Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50435a9f800so2794156e87.2 for ; Fri, 06 Oct 2023 06:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599995; x=1697204795; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LbIwSXH6FjrGWEWkB8T6Lc3o+IPSoQUzJoJygEsVP2Q=; b=t5CathXCtsdrl7e5vw0+/oBHpjQc9ixCxxktx95yUYJ4kyNWhYbrEvAkH687hPgwrU CTsXTxp8SIA1q2cv1str6MYkBjuVyrcpE5VRiUNwYtwMZYRA1NPeGkgFOAXgTSj0J3w/ dymClTHpg79QFiKFnAaosRwH7OGLVAXlvzTMnEwQpTUAyBk2jLEzxnZd8UGY2ANadyrv 3KcgY0YoG6k2qfHGSDDCR7tXF7U8EWCthXRyHsIC42EPrXGAUaHKRG3eV5JU17xJtV1t cQzxP4gY+aPrcoRxdgSjldXaHpWHoKbnafgYlYciiq0VCHni+xTCWee83TR7T3d8ooWB bjLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599995; x=1697204795; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LbIwSXH6FjrGWEWkB8T6Lc3o+IPSoQUzJoJygEsVP2Q=; b=WOMnkc5In5ndD6xhxyleUof2I1QiXhaQERaQnxG6f+rp5ZRCStnXFfoWBB9JVbERK7 smYp/aZpaa7baOF4qIuvuonwKBWVtg03PFdmDVlfYYMRM8UP1dlazJlSG8Rcx4ktxQTp /i/Rge5JcPT4+jF4etDLcPACw/6xPlHEEBhLALNm6LIotMUjLaIIk3OM3+5WCTWWMmOs BhLshwrtzRBke3rWYEylCEbblwFVdzLASUQcwLjD5hcDbUZuX+HLtIo3i4YIAxVSKowH p+LosV0923D5LLL2PXYqS3w0l9OU9AmINzoa+kJfPehjRaOaxXDWCaeRSoCw8jfThadD JxPw== X-Gm-Message-State: AOJu0YyhNAYZIRaUJ8XgO6wjUOJ93dWCPIzZQtTBzS7rqTEkqSFm+cJP kjbBI183y/9UsCVLlurTujWvag== X-Google-Smtp-Source: AGHT+IFoek3UspuoDg2fClJUEjov1EeEFdmzeEDd5y8Kje8woAv95XAU2HD1vvAKiP/TapL6Jc3a7g== X-Received: by 2002:a19:5e06:0:b0:504:4165:54c1 with SMTP id s6-20020a195e06000000b00504416554c1mr6124350lfb.7.1696599994954; Fri, 06 Oct 2023 06:46:34 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:34 -0700 (PDT) From: Linus Walleij Date: Fri, 06 Oct 2023 15:46:31 +0200 Subject: [PATCH 8/8] ASoC: mt8192-afe-gpio: Drop unused include MIME-Version: 1.0 Message-Id: <20231006-descriptors-asoc-mediatek-v1-8-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 Message-ID-Hash: EXDAF7L5FSTKOC3D7KJF4O2PCS7YOZFG X-Message-ID-Hash: EXDAF7L5FSTKOC3D7KJF4O2PCS7YOZFG X-MailFrom: linus.walleij@linaro.org 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 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: This driver includes the legacy GPIO header but is not using any symbols from it. AFE has a custom GPIO implementation that is not using the kernel GPIO framework. Signed-off-by: Linus Walleij Reviewed-by: AngeloGioacchino Del Regno Tested-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt8192/mt8192-afe-gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/mediatek/mt8192/mt8192-afe-gpio.c b/sound/soc/mediatek/mt8192/mt8192-afe-gpio.c index 165663a78e36..de5e1deaa167 100644 --- a/sound/soc/mediatek/mt8192/mt8192-afe-gpio.c +++ b/sound/soc/mediatek/mt8192/mt8192-afe-gpio.c @@ -6,7 +6,6 @@ // Author: Shane Chien // -#include #include #include "mt8192-afe-common.h"