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: 13411574 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E38A2E81DFE for ; Fri, 6 Oct 2023 13:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tcctjBppf75NLO6YkO8Pl2INJRmj2vKxlHT5saQtZoY=; b=W5EZXGvyr+ZslZGb5s83weqQeq trVQjxlf4wAeMhUSnT3JLVWM6nmYI3UBnHzLvqC93vjPPzjTakn9FZCCIUEDM8Qs0jNYstdbo/KFY PV9LVf4O/2mXpeBCSwpnOBoyCoY7NuUGh6Ywj+6D+6Zeg8fTk1ujLTKFo8zpV+ui+Q40Gw/U7bv9e iCgyrtNDYWKVCKp9Ch2hiqvEjeTv8vEPopRTX0ejqqgQ54t+MjCvQZF3VqoAk9l+57aFNXF+BL7yt 77Y08T8sNI/RzbwXyd/grVLhW3OoZl5jxT/rBFcUrCZa1K5duoqDhhT29LdEMG3VxUmumb9SnCKU7 btn6xadA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAK-005vL4-0h; Fri, 06 Oct 2023 13:46:52 +0000 Received: from mail-lf1-f42.google.com ([209.85.167.42]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qol9y-005v4d-1H for linux-mediatek@lists.infradead.org; Fri, 06 Oct 2023 13:46:39 +0000 Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-504b84d59cbso2836101e87.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=lists.infradead.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=Z5Os7KVBCbWV2a+/PL1DZ6dUQJDv9BSr+SFNA8T3UUxc5nVtp4WeMi8KCOLzXLNnBD H+P1iY7Q/zR22SflE3KvVn6lbtcZ+JvY4HTCkXNuTODaFznYZod/klUkGHM5T99Wq+v7 nFon/DY5B4WLEWEMyPdz5cm6EfhCquQ/NWbLk5q2pzIIgEtSMXB3NnVr4dn8cyRzRTZI 7zIWZb3KZ6PITUQtDY7KtaPWzO/bPL0qOmAfYaLZZDw3Qk3+67UpRjz6wCREWvTR2SG9 0Bw8X2qfx/zwl1juTYK9qsEZt3P772ygN16aIUm6P32RALZu7XAx0EGO7O9kKtj9sDZm bcoQ== 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=uU7wGIWk5NyX/xDiV6XRgmoPaW5sq5jNQrcbKntViODnU/4jIxMCV+5EwPs21qWt1g asKGAEp443W+NIAGKxNn1RKs2cZnf0CP2ywsVMag3XbE5Qm5JmsLQLi8zQp6+/mY2GG6 AEUluL17JbftncuAVrBcemReKGW1DSyGVXsFyUqhE78KIjDQo3XhcAcC97w/rI1JdQty 78by/N2uSGngbIAgeCMVcyJsrAvyvTAzMOiEKWf0QW+SjTJULXgF61bRv+iI2t6Vf7R8 DNa8zvuzhC1CuTwcPlYHr5tORlWJCcUE/A3mdZQ2t7VuylMIjCqi0hM5oAsFxqTpzNJq FnYA== X-Gm-Message-State: AOJu0YyafVdTaVcqVf/xaQUU+dWKE+9D44JTFYsCCsNwza5xzabpKeWp UV2syal2wuc0Kr89iVZqTdIeCw== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_064630_435590_6E4919D5 X-CRM114-Status: GOOD ( 10.55 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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: 13411571 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0E7ECE81DFE for ; Fri, 6 Oct 2023 13:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Gs9kODHBf7pe1hvttMIGP4XQeIHebOI3TikCUwTzhsU=; b=1WCatcdzzYdpvaTeZk1Tx1boXx AhyUdEiqTHEtlwIHXR23iJNvWS3cYst0NZaJEHw/2K9/TBU6xKxaEIZ01oO1KzdSFp9F3TioDg7GE d4wQAaTtgwimC8SPitcvHoNeuI11Le/zkuP8e5tmoDZDqRfBlgPm6HtGi05f+vzLjkqOytwqL0mnk Wxmkb1Csup3mjq76iC11XHhaM7E+figiblbwuwJCectu7IunYC5QcQvmJm1w5wzh1c7GwaaE7JHak GRkyPuinjTCQlkD9Mk6/ITW5RvYJzSOy+eXqqKIao1wmDfOIiXkn2ffmzEuZHL0Bjwy4xY9Ld+NmX IplnFWUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAA-005vE3-1A; Fri, 06 Oct 2023 13:46:42 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA5-005vAD-0i for linux-mediatek@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=Gs9kODHBf7pe1hvttMIGP4XQeIHebOI3TikCUwTzhsU=; b=mEL8ZYS5TS4lf7TLeFd6ErMPpe 3p0JUiLX8g8bnqZfleYDfCveWvV7ZezmsqWkBq3uW+noVtXFuPPaIxkK3ExPN3tC4bo9sYRpA7oCY 0Fp+MtfSVbdjlvPOVlpEmIjJgoAwrIkS2s0NTm+v0+o6qZvog4SmddH0y+ZIzLZrKbdLkAItHhkwn Un1uUsJmYz7HZZNiQQNM1Wk67I6/ZKIl8MyyJqMoZzJjzdaXQNSjGy6O+AcE8ObmsOcbnLkt0OHdu EXRt/bYuPhea46RNDQQF5dqva9Ak+KVv8OJR6OcmIurRrXz4ErVxcOUVeQz7I0huvmKXud9I1ywEn NDUtBsGg==; Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qol9y-00CfUa-18 for linux-mediatek@lists.infradead.org; Fri, 06 Oct 2023 13:46:35 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2c1886777d9so25663621fa.0 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=lists.infradead.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=WcqI5ym6WdOUQAlM5/40c4arxozL7POEjukiQO8r1EnjzKMHvvsm6IqvR0Wb2GhPM7 GSOm+/tdVLAQOhNJ+IMSMyot9ai4uZbEHwi42SjZAfacC0qRjm9e4/no8NWJ3YtJU/AC TpWQOw5ZX8ObDb7LegaoZlP0upWGD+SJHMd01SlypQ6sk1eeMuABqIMQVMLEer1XcGUo 3kYjhKr8wywTrlGTR9y4UNIzxc6p2pKjesVBv0t2WAjAx647QvMEFPLbkZmjgZq/Z8c9 VvcYxtqx+vUJyqTNE7JZ93yUWR6oD5xeP1li3IHmn73hpwBpOOTXlYKlF9aZrMw4WvCw qOpg== 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=eucXXqu57QB9OyfMRZ0J9JqRN90M6SqMdcbfm72wXveq0yNzeIyTj1whLMa+L56LcL KfIfiqmEJhtT+VLgUarZADQRKmQm4adh/I6lwdC/pehIDXznL9slBvM+mlOrIF7lYoAV DPlXUR+L/dOQIFuKAQOC3nKK9Hr2nRsFQc0BxxyAlzS8iPl5Y26UnSrY90wkEWouF8Xg dA0Q3wFqs+7WUDFgVvBBx1JNR2Avq67kBMGEN52xFvMXcNfdrKg41YgF/QDzbNJ/NydT BmSeDK2v1SIDNdLHxQX0LOrvDxr+NwVSVx+pggTuRRBoSagmgsYcYXJUhhwy7uAsuxoj zTKQ== X-Gm-Message-State: AOJu0Yzl4U3SYSWXXuXAb72qLmRAySpq6EeB6Ru11BAu9digynXX+NIM 3QnBRhP+aiYU+FWGyECl85ry8w== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_144631_920538_6F7C9A76 X-CRM114-Status: GOOD ( 15.00 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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: 13411573 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 10225E81E00 for ; Fri, 6 Oct 2023 13:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rbOUvzEjDlea4hheqP+YItFqmSWqoancs5Dg0PuH8cA=; b=RqfARPJ/kJSYA8LgH2MKo7vass Jwo/GRYgpmdvdB+2rws5iK+VVuhCeV8u01XcRSFpsaYduJS/FrEzCuNBpQ3j3BE3FhvC8YtEaRTRE Ml2EvWwvgNLb59/Mi+Yv9CelKYv2nCHJGn5DqzBdI+OP78pziBPbcIp1mSzcIjdKDL5vCG5RdR81R t4pqGYUqpkBrDE6EGDSYPBgaRUf8VxImYZBwflwN9UBAlGOunvGE6e9njwSwxeKejFxY/TsIO533v iLO+fOzcvu/czOISGLgsf/qAhLQsTgPbi0OcTHRyLzQwl2WumaO8l1/ZRasTLluJdcairOg+8S4iB PgVUZArA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAC-005vFx-18; Fri, 06 Oct 2023 13:46:44 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA6-005vBG-1U for linux-mediatek@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=rbOUvzEjDlea4hheqP+YItFqmSWqoancs5Dg0PuH8cA=; b=RjP4/7aFLcTNo7i5ExBxGh82Cw CFxjfpYVpRkoh/kHC3Abg/F37o9YyCB7njZv8/o08FQEYqg+mmn3nxeGtb8nWh7e17Q3Cl7Q6H/+q F+8yDYIvmQ9Jti48JqKKHwL1xOBNth9U5HkDGVW3axPUFGhhW5DRDsKeCmirsoqFj+Ywnm7fAgEZ6 BR8fM51BcfI97004Rqc6IoER5XqUiQR3cqVyIKZRn/ru1cWuf0GDxDo4HrcgPSnBZTK9qc6U6EACX cwkSTfCtsKz4AepBtgZtF9Vg0Pj12W1yDUJXVl4xSA9nLAaeZMd0MqJFR3inKcY1/RCkLbtyrKeTg wVdkzgVg==; Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA0-00CfUe-1T for linux-mediatek@lists.infradead.org; Fri, 06 Oct 2023 13:46:36 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c27d653856so39273281fa.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=lists.infradead.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=PZ4+8ivF1T0NouBZGCOnyAZzwulk9GonMHlpDFhlUpU6LKnCIHCxEfWYVyn6tsesXo zHNtUHS1OdRSWS3OIiSVy/3C1QjW5bSF+f+azpLwRJ3ov98R9PdejeSWGn9niRr7vr3/ mCm3Rv6hKkrMDDgNwAEQBrnIolosVJKMAcWyNOojBBzaw33nl0+0zl/kKHK210r+N+xX KOqRGr6hqvBy9leGPf/TosXv/r5pBrp4VCg5ORbgP1GI0Yd3vh78cmpH3wBEP9om+NEB y3zOr/RtJZC1yfCOZ4erTa0KNiUBmF21sR4MY+Cee3DP/fThZ2ztA5PQVgCLZaf0Hv/v nLpg== 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=imHWx6AJ1Ktvhs2caKnle87FSctIHqhr2LrqXxlq6qLeiCclm+vsZHc5blfsxWaHsx HHlahqpUVQjVIq06bUBfMzXHClEO53cCkUG65PyuyIM84En3g4S4O/dfwZEsxyXpmW7W sn8JkZpV40RBGo2JOkhDZqLL6v2ufxISiymZxLxiwJ0M6ar53uHUJaEgMnkx09wFuPYT zA9Ct8PoYd9g+rKv3ECKgi288GLOE8C7Qxr4l7D6TRACyhqG/BUd7G1Z+HZvd7aclrxS C5oEiE29F5gdkAPphhhDG+JJPndJNNwwSfeDpqCAeoCBfxwmffEHL6ajVwNWNKvrkfQ8 Hnzg== X-Gm-Message-State: AOJu0YzamG5b4Z0yi1bZTREFaMPR40iqWav9S73z0VwYrcat8JnTSPJg 7w9s/ER7vQxoJUT9rujN7Mhy2A== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_144634_285184_A6EFCA9D X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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: 13411578 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 24AC2E81DFF for ; Fri, 6 Oct 2023 13:47:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yLHdfqqmxuwlIGJBiB8XcSmFMMCFwMYGv/NG27m7YvI=; b=vYG3UUGjugZMAShXoJMjmfx+YH AMJUETeYapoPd3252hPMpDD0fvcq7tW3bIX/0+Dh4oE26H+X9vE/3balwzHyB1v/yPglbCmQcfmyV dmJdPIwQo2oOYAnFk+63EXYPnvCDJdDo9CtL3ZfiOA5SfudWkVyiDv2DNr5/XjWbcVIiyQgoGTJVN a6Xuc9zKokFgTMXYHbnHBUqiLINuPYkLEfpdkTM1sk20XYbYp82yIUc9qgWZKZGlr0t4lseG2+Bnt PYpoEIXSMFrnPfG1VOjN3JhiqicBoh2/QloK1PY08V/Sq3rTeoQDMi7Dzf7a2kC2QMqQ3YcBi1/EV pVyOxWuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAV-005vU4-1b; Fri, 06 Oct 2023 13:47:03 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolAF-005vHT-06 for linux-mediatek@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=yLHdfqqmxuwlIGJBiB8XcSmFMMCFwMYGv/NG27m7YvI=; b=SwfZkrpo7kZFvC8ld1G2Vu6Jt/ iwGKal1375z97ZFgm8/+5SqaejbTvMeI+rS+X2LY3YRQ162/qoGXEwM/O39QVt2fMZ/K/8dWn5IKd 9h5gSqqZ1VHKzuW2cR+4iPaKLfUa5zHjAD2XH1SruMXPphNoF96jZNSTPrOWeUaVckx6qeMwW2KXG Z/iPQZzirod2UrGhf63wYPdVVRX55lMFT7a5etWR2iC90jeBptUgy760qfL6Fy3Ij2Oz5BgfrnucA DB3irT4VbHQnkwaA0lpGNv167A2SMLKKMtESrGLTiZYPFAiXiDfq87IKxjoobDDIc1jpnu30oE+0N D8i8Tfhw==; Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA9-00CfVQ-35 for linux-mediatek@lists.infradead.org; Fri, 06 Oct 2023 13:46:45 +0000 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50336768615so2828803e87.0 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=lists.infradead.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=AfdUEqkx3ihrtHXIjHwV8mH1mnJdMnPnsklCVbKpqxneyRjNpZVO4qpb0uwUQwteb2 tfFaMPZBxgodF3ehKogu15T5TEJChYGGbmCUsLx5RGnT9I+A2BEOCb6kIpsu220oqulA T7MXh7evfmf4OutKX5LFvFZT4Pf3fY/bg1fxamDLsHMxcPEfjhNARBOOFBw8UiBfRLUL rawKULC3oT2OAoNqroJT55jvyV7ALUC4KO9IwiO+UKOQtgjB8gpwG8dApXt5Uqf/o+iV YhZEi0ErZmWkXC7dJz9nRknhe5z0TJe5RGFtprfuyP8BU+LewRNyFRNkxxDyjwsLwN1D VICg== 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=YyNqjNPhaL6KWFElrBesehrXplW2a4KMLHasvtc/KBaYWTMsndF2yosFUm4EhFXxza FRZz5fZgl6n7vEwWop0OTiCnxtezb9Iqu8wDC8tFZUJKPFojdyodi3gFgMS8C0Rcros2 e9DneOsRbK9z0SNgIKiyFSP2aJr23BwnBm0vI9dYXSiTMbKmey1gnwzyute8E5/srh2q FW4nf0dbVGeaUTqWBDoUaoudN6zwegnS/A9QkpwxdxGZWE0M0G/Kd4f5JRldAYY6Ty95 7empK733ISsEh34vsfu6Vgm6FovLF4oUHMfk6FWyNvgmLWbxNxp9bpy+FacknEzb1Ozt 1GOA== X-Gm-Message-State: AOJu0YxdpMHfJgNjGv+IkD0aCxQe6S7s4rPfF0egg5uwwXK6cnfRaGqx R3UcRRIaDI1feZdC/GJOoAkH9w== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_144643_763284_B930D4D6 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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: 13411576 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 44A4EE81DFD for ; Fri, 6 Oct 2023 13:47:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4xkMTG9p1NQ0LVgSR1UXz8ORgmEVrpeNo+lHyOzhxw4=; b=ZgJD2+BQTGHKJItVBkl2Qza3q/ EAUEcpHztoddo2IX07xiclA/4gdTMkdDBAZD5B2GPp+2vjzt++v2TMbUt+Ne1sYMCPTxgIVyVxgVG ZTOmi4LUpFpdFYt4miTv4CHN9Yk2EJJJtvIigNZjdqoM3Uyma/0QoKMKSdnaTMXkapu5R4cZF3HQG bL5ywAx4nwTN033XQtGIWMYfSuO/2rNO1Zex5wTvw7UMfaiznb3xo+y0A7Et82jyCp0tkr7XQ2wLw /UqJB0HF8PXW5fkX07UELhYcal6tkWpf6QadXZFnE3TQAhis33enJ0xbE6PDG3AAo9Uvtad5lt+WV cc+ihVXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAT-005vSP-1P; Fri, 06 Oct 2023 13:47:01 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolAB-005vDk-2O for linux-mediatek@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Cc:To:In-Reply-To:References:Message-Id :Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender :Reply-To:Content-ID:Content-Description; bh=4xkMTG9p1NQ0LVgSR1UXz8ORgmEVrpeNo+lHyOzhxw4=; b=Xo2b+XIpwqnquxzJ58Xzi+2/Zy gioCi2Rw//LbYleqX8k6++mCmJV+tvBrHFyZz6PFEBEFkOTBorZQUbWVQzSVcXYe9RChWAWAO7lK5 Yrl9Qn3GK92/Vj3+KaRaOAthn8T6kUS1dsH74ta/eNUiuaWywLQ7pjZzNV7svINKV7UudTfsL7fj0 Q27ragtKbLfQaJwGHdlFbcBHbXmTG3MRRcGt/AxlTj3lN5ugLqr+Aho4S6m36K/YbP2yaqou/ziYk Pf1z00nhOey+qnVe3X65wAWNKNi7gda04OXHUKCQZyN8PC+PM7MNg0eioW0W6doZ/8X41eeoZ7LhD PnLpppFw==; Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1qolA6-00Fbrp-Q5 for linux-mediatek@lists.infradead.org; Fri, 06 Oct 2023 13:46:41 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-5046bf37daeso2812100e87.1 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=1696599992; x=1697204792; darn=lists.infradead.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=aASWIxcesTmDqEd4S7ETnOsC9zN9VC7ZWbx75AlglyhZ/LDERbvDqC5AZLptF2aVlz CK0IOSHMky0R7oN8AfqQhvr+lQn2GXQDVXcvMk67VlbbAns5B0Dy8eOuWgC8D6FbhOze IzxS0tzQ1msSXRyiHO+l2ONtgvSjL6KP3o3+Gqc3iKQbmr6JJ80vK/jCcURtZ2Ia8kQO 2xpT+ZeYsgm0PCnnrdOlOfVLtUpH6WINPx690gQh7hbs3vyZOr+v9x7EKR4Ilw/hjPgX J/U/m7t9Gkww8xryeXL5lbuSxow9hjeZzrEz6Jc6xmMhoSAb4NX60e1TviGXuPE8fA3b uP/w== 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=qN3Arzuirbokw55GlIRVUwlPnLq7klj4qsmCpgWNs/dP6qPo2CNNOJ+dZxZm7yJhdn 3fALPQylgxdL1JICbEXK69EaETrraXp+J099C9KlDlEnLf90KpcPD1RgWXPzgaMwNAkK VKM2PIP9ahN+jb5abccZorcsFMK+EinRjOhGlOUhaDLvaZd/6YLqC7jd4t21QX/VdCKK skNhiKcBxBH2/IctDIPgIErYuWgjxaO2uyZtLBWcuFm4/WUZfghrNruRXLu8ANMvwv0u ymZLbqkfDv7CuN3AtC7X36F69G9qyG0sZW6gKvsLUR/VqXvGkVviFQFBIVVxxaUzjZ68 aXUQ== X-Gm-Message-State: AOJu0Yy/BJp/piA3+ZClODpQyGVM2A7uhoX/a9rOkcCs/YH4A24krQ/y IjbPCqki0TMw4d8PPAoz6YkDuxeWhghxldIrNsQ= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_144638_920866_82C65666 X-CRM114-Status: UNSURE ( 7.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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: 13411575 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 240E9E81DFD for ; Fri, 6 Oct 2023 13:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UKUwyfTTneTxSGqUZGpPDlenguAqMHPKsbdYxdaEdtE=; b=ox6xeTpPI3Iut0XEk3/O1QsrH1 nVuPOVpr+lZzPHOo0KWtjkj1KMhAi5E9Cf19uIIAIL7ZFLD/2US9Bn3F9QtrQ4p6ls8ZSBM8DI6UE oKR3oKs1Di4Z/xBwQMR4eSB20Cyz5F2+0Cttf8vnwxRoqGCwbOGzjH10tyaz8swlhYg6elrlYvE6I n4NKahPF190aA7ayvUUrs4R1IIDs6f69sapBYOnJsmzzKVrPBXuVOWa1KlV6gIf/CIpa9Y9PVYpCS 3Yd/5Tzshuvy28scH7CBVNiJYf6AxlFantZqGBDpFfYBkI1Dz66K7GG6YPrgOIrDeIjlFbjyxYOh8 YVrNcckw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAQ-005vQ1-17; Fri, 06 Oct 2023 13:46:58 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA3-005v7x-01 for linux-mediatek@lists.infradead.org; Fri, 06 Oct 2023 13:46:41 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50308217223so2667115e87.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=lists.infradead.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=jIbY/vm7JgUQ+A2XL92L7dNHmvbKJC5Ry/iaUtZau4glUD7RxG9F/B5UifmQ+yGsSz Cqg3irHy8AuK03QZmC7Sj27L+hI2CR6TTfpq0KLnT1f8+QapQn1iVRL5pEIwFWfxc6Av grRKzAxY/jnG0keni/3mk95L5pARk75zMiq2sDV0fDPASFMgf6jT6cN7XZyOWLDS6Ydg qxbbXzmJJ34F3Yb76f4jvd3x5Qrqs4Nkyh3EaWFxnICVOhrL2ZHFLbt650e1sCqKwC95 202LMMIJXNp+tsOXHm5FXIS95wepFrhNkfGrW8C292Z3Vn+1U52KlDbHVKYjEFnPEHHc a+xA== 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=PLJ6APbkmctjxjW1DZgptvfCBI7WCLu5p1PomxY+dPGEdC/3riux4BSwxzvN5Ko+Sn NrA8m3lUoADJIH1h1CZv2sk2CpvXWJqqyTNavkQxilakqnpjqXxN/6Qt4qUlkvPmoM1m K4sPeIP8u3rbliM1SBVhVhsS+JT8T7Np0gjXgIU1cb6SWZYcY8+t/V+PHOadwgHi61KM aL9jiSw+idmRJHDrIIT2zKqNOFTviprHusjvME1o1NlM5oLYhxjR80coEjuELVTE1L5A NDtuwj/dJiq5LG9W88K2CKBCCe+nsyS0+Po/FN4bqDCms+LB29J1JbuXtRshFS+oTYN7 UoRA== X-Gm-Message-State: AOJu0Yxzjd0DbCNizqOOKTNkWGpowFAscACNuExEcgDo7fyyTd9yuDL5 pi/5ZqtnSuv6i64fOR2cj42cSQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_064635_055291_04512966 X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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: 13411577 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 75FD2E81DFE for ; Fri, 6 Oct 2023 13:47:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Asgb8OAKdQDCRC4VclzbwAu62WhyUIsTAbJjeqQexwE=; b=evkKxXhqH3izrIGMc+WAMf9PGD +Y3gC4tZ1ty7vhTVyKwK6rutI9Sf6MCDjsDVPnbyAJ5KhZbkGGW5njrspGlEQ/RRQOEGCHjy+9Xsi mZ1oAO61SLnPdpJclzsHDrDOPEvgTkbPWBTXAo1GR8GgLjpiJHq+VMW9ukBUdn17nbQ2reAwpHwLW iKk9JqGpOkvfK/mvR6tqgzIwV8E5tz5Y+uDmXf3/k+WH18SA7lZ8zn48X+uVtIP8xqiBSmeN6CPHz 6L4uTmECK2Vp8z8Nlzw7KtniHZXLLw2mqgse5ejGNOa+q3Ndqjdm1CM57vrfNbdT4WYjEMNTtiGWl gGQY5sXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAU-005vT7-1v; Fri, 06 Oct 2023 13:47:02 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolAD-005vGO-1g for linux-mediatek@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Cc:To:In-Reply-To:References:Message-Id :Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender :Reply-To:Content-ID:Content-Description; bh=Asgb8OAKdQDCRC4VclzbwAu62WhyUIsTAbJjeqQexwE=; b=OJqhBBBbCFNTcMden53DA3BJFk 39kDdrHM9OT8D4eb2Vuzd1hy65qw8kbeLgvicckCKIDPVlOl9hLR/M3FphKu8h9b4JC40bOArWLQh sO2lEgAhTmTqmx/wXe6pIN3GqY9urc3E8e1uJHVTRmg2RwBZZywRdBIoOjj8N/y4gox1JymVXfSvY 1up5f8kdu1jcIENQTRoWxxF2FVidOUEMb4GL8wbU16HaWhcPkAJlu41EVKSdUV06j9sJzqr1eedhr TvXqGtjp1zBq7VBmjxwUdFif4xNYxIBw/l7JK+0qGnTHybe06mqbsDRIAt5G7zxxhvSyT7PSmHyhq +J+eoOIQ==; Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1qolA7-00Fbrv-Gm for linux-mediatek@lists.infradead.org; Fri, 06 Oct 2023 13:46:44 +0000 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2c3ca6ff5a7so2071971fa.1 for ; Fri, 06 Oct 2023 06:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599994; x=1697204794; darn=lists.infradead.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=LChYIjmU9hY7iRhqqOWm/YjcYrM/pT8mhThCBawmzxZLLHQc6lpt0gr463n3+btmPN MsM2G2T1jR8W9jiL5kCgRwrQAVv/IfydI2N2UWjDM3aJjb9gpFDNjqUaEcOxhh7NvLt2 qCOCwIwW3kC+WYMMZDGSIqKM0ovYMaMVOdrstivzZClEPdjrwqibCrHnibyi3w/L79Ki +dbWZcJRb1oHHFp/hUJSwPGWTSihIGLN/iP78Z6LccVVKzOEaRllcqApKrQdFDA5emqT SKfLDueajD7LmZOA5WFp2ElrFvvCpRh3Mu8SCNh1ULMJqz+qO7AOHV8SAaYKq2hUImat IPEA== 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=Rk21czUbLH77WD1JHAnCgPR1zLKOTb5F8yai8BGFyGdoE4TKWYc3aKkfAeKKQZ7Ff/ tHavajY9Z9a8y7T6i9kbYm+xFkls4rTUuCr1iDtgsH89c2fCbZ2tWxZrjNrFDjHGnW0r lZRg9F9pvv65rdmD6Qy45xuFJPGkAujccRszuRua5skJxasotN5CeTweYFK6NIgz7n4C 4mKxTGP/0BDVBBBsKxEfOpAUcZJCIEf7qJBV7fPEjLcjtLreAqWGW33Mzw+506nwl8sg WfcVQsESiGUNWTt9o8HMOqBcW6Nm/1KiSb3z+2an6Ntnb8HmlKIFT2g8oCpqHypByVN2 q2iQ== X-Gm-Message-State: AOJu0YyCAqjsUgp8xZI14/jB77L/1F7XdDP9NAmkeRJtZJ7gKbRg9MnH QnrZ+gA/SeY9DUxpyhZAiqfyPg== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_144639_626051_FC989F36 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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: 13411579 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C3F81E81DFD for ; Fri, 6 Oct 2023 13:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LbIwSXH6FjrGWEWkB8T6Lc3o+IPSoQUzJoJygEsVP2Q=; b=lQXwkV3J5cvUp1em0P2BX3BiBB uLFCllTRxD9lIP5Nz+2PeNCGUYSfcsr0A+WAQiHowjYv9vChCIEGrA5idf2Hx6KuiKUAwrHlgqSdd JB3D6/qdtAOvs0gj3fzt2IvnuBUfXWCHdcWRrK/Hh92ZufNNTOlhvcNgKa9yoaLDYqo0DXF82120x OdlIz3iHT45egBi2VSLEQWij6JcHZTchy9+OvLma8749lYBlj3Wz4h6AUit7Jl37aGqRGs20gjZ1i zxSXRiihce2KZJU/EpqNzlVc1aDHcLOOH90roM+/Lda9aFq0TmC6gW4UIICI2dxRzOsSY6PlWmW+h kTsS01Yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAW-005vUz-2g; Fri, 06 Oct 2023 13:47:05 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolAI-005vJs-0B for linux-mediatek@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=LbIwSXH6FjrGWEWkB8T6Lc3o+IPSoQUzJoJygEsVP2Q=; b=Re4eH/XZaCMBN0X/xOdvpbmnw+ wqkJJV5AAuxnvPVa1HxsjWI2Hxyd73OQz4AGHthKgkk8LvRqos9l5Dj1FgDd+ej+0f9SQu0pIWIyP Z9G76dQMPDDKq7EMyh+RHaMnzmpYysumm1UFo7vP+TxbZ1UpdHfiNG+9qB3B/P68+UN8wpODzHx+f Byp96j2nsji4GaxFzSwkMq0G2w2txcW9yRMRpBeaqe4r3BdI+Tdlh5RMEPAzGOlczM+hHxSBRO728 84IgePqIC6bcY96x+1tPNovMJTax+ti92UDcKg4EJSk9vkVlkfmxNJMfUlU212xMTFYFLFp78sICQ fsB/U5pw==; Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolAC-00CfWN-2A for linux-mediatek@lists.infradead.org; Fri, 06 Oct 2023 13:46:48 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50336768615so2828875e87.0 for ; Fri, 06 Oct 2023 06:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599995; x=1697204795; darn=lists.infradead.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=rlD8yuEod1C0zuenOVOvVYJVxNzP1shghwmVpjPfbbBUiKTe9pajmjB2UilxpKZiLz BEN4Igubl5aG9pmJxWMzjM13E972J+togjFbXhHTRO59lek2+mSAKOIT1XyoogbrpqDl /1MQ8d8EDNOQJJNWXCc+GQGE1wlCkNTPJs5i0BOJdvofVNujJuhNhS3l+PJm3wxqJqqx mKkl4VjY0QUfc4UGhWMJ0WpNs6/wQ2FqbF5REYEAbWZK3rrrgNHcJP719sHvpwIIPEyt 7lTHliKw4j0FinQ3qGmcCemm3K7hZG9SeB9mki4f3OJguRZG8g2R4zQWSezwdMgD8u5O /UZQ== 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=wXpc6u+zw3imnbh+i2FAaolBR8qysnj7gPmh9olXxJT2zuiX+ZsSCInMw/f+Va9wDB EhSKblzUtbbK2PwCrmTgYQaUTB9j5k22I9F8G6oyOnpX94V9kcN0m3mZY9VAEKhoY4dc T6NUTyRyYaofFT7jBr69eOlU8VDa6mjt+1ZcKovDCk2iTgohwRm2t2ttZIfACJaoWOtS 34SUIyGOB9LvFt1iM/WXvSHh/t/LLRxKgWuJLCGG/SDzCWv2tWfgaA+iVwdL8Ll+corv jvCYZgwFgG2e/8Fqarn3xf7HGMUxvip43G3Qd7EZTKJgng0/IfzMYAKlU9Gnoju40mqe 8R3w== X-Gm-Message-State: AOJu0YxcVWQtnxmWVfNFMCoW5I/s8OxbUxE0TD34c5Bqp77GvVxxTZV3 dNZ3cAY/LnTqEhdXIBnqDxp7Vg== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_144646_429159_5FF969D4 X-CRM114-Status: GOOD ( 10.51 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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"