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: 13411603 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 9D775E81DFF for ; Fri, 6 Oct 2023 13:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=h8+CL8sx0bhwbp5F744WJ7f4okoofSo1jZDQBY8eTpQ=; b=4z+2rdIQMIqNc/ 8j5LB53tXpWNnMdeL/aTlQeDy2PXgSgbwODYymcBhEd4IZKoCXGGr+GttEakxYwA6Mw9aM7JPXirW AW3CgJVEPWse/AqJLNNNvO5Tg5VPsycVbqvDZ6KWr7+YLlRnKC/wkLiuQDAbUxHhr4QkHrhbwtf9N OjC1SOidwFk2Wl0K69pSRacJ5ZLdya+iaFbEfXz6NUJ87WfJ2C4Nmg9NYESntp8W/yo8Ee6sCkiox 49qi2KdhVh0FH/+siwZtNjNnSKd3r+Jf1iEjWfAq+y8YYplkBvmr0wRur1KjjcHxOhlxYJgYLe/iX slnZFZPMvCyti8FjQiVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAE-005vHS-1b; Fri, 06 Oct 2023 13:46:46 +0000 Received: from mail-lf1-f51.google.com ([209.85.167.51]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qol9y-005v4b-1G for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:39 +0000 Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-503065c4b25so2863747e87.1 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=nJpth95hUFDPI4jvgSYkyZRIviFJGL7ldm/XS54Z5HxSbioL2LMHUlh2HpHYuh7/xp 0gCgtv2EopMoWxHsbS61K60L4MuWMVzmwKLOm3qoy8RoeW9ueLCj+avpERozixRjWTGa qUOPvz9tffGbdLcsakH8WqP/YZj2Cs8Jk21U/jfW2zRE21vAT7BJR8SPSfZIGOgFUibx T46vHJgfvN1kTHDVCXwTNiVinTwh3PS042ClL2WOFpQkDW7Nu2ITzmK8LwLX9bCHkltE QPfrJ3gV7q7H4Z4O5HCzsSpc54JS3OBVKvZcAlLebv2lfh/cauExyAwBwBbB3MX2SvEL 6tpA== X-Gm-Message-State: AOJu0YwvKUmqlMNfP7qhWj0Cg3VGS9djXb/TYd6I2B7NRBalqn24lnr4 M+dgDgU82K0K39qr8gu52ZFYtQ== 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_458121_5C6C285A X-CRM114-Status: GOOD ( 11.87 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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: 13411601 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 725BDE81E01 for ; Fri, 6 Oct 2023 13:47:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=u5EGKAc/UtwYw9rJ0nxWavkgtRpXgkiI1efxE9hCuqg=; b=NWZbmabGyNiA2C oPQ60Dsb7G3i/MnqVb4eb1GSXQxCcyEypV3Y/q0U5aVViQW26rlBKHTdGP6Ak6nfBAeKt5/s6oawb r4M+WL41BtPldunXmSDr8OHt0msrNexykBnpsRpCGe6nMD/tJu+oPycJphZCWYm1n5V05G3dVlX3F Urq/ZwxQVLIY1/XMSNWvxQNkSel0MMgdcZ+RjKqZcrT0FIN6doSfnbh6ZjVE6FP2z0ERcZSBN2KYr qg3BLYQCIVlSPK+PHDhTl8QJKZg00dHGAqLNpZJ1Gj27B6F+aNUDUdwkonUNIJWvln5+e4fx8Fnf5 SZUF1M0rX2EWy9Gr088g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolA8-005vCd-1l; Fri, 06 Oct 2023 13:46:40 +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-005vAA-0h for linux-arm-kernel@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-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qol9x-00CfUZ-2n for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:35 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-503056c8195so2797489e87.1 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=WF/Aj4xG2YHmyFBOOnl93UR6WzhhXLr41B35Gs2rXG0RpW1knq8jRFFVeGKSOilinx 30lZE+io5rzXfyj97zT3+m3+ICGwTcG6nKUxWBSmepkQD8zeb+5aXU4KTujKihUYfv9D H/Ca6mMVb3NZGkH+O8wvMmQ5FJEGYYSTlyXuQFdINofKjuXo9ATQlv8eaA/ESM9efk5c T+ekw7X6kP49ztZWkv4ircpGRp7yB+G9Y1cG3/S5sSmQ2NOHLfB9/L4NqjlKRbbTL8eO ge1iSoToR5tuU/hcWZAGF8xv9M3RNVWW1MNjqoZYuTEcdxTFYFOxXMyv3/JMw3C/p6l8 v3Ig== X-Gm-Message-State: AOJu0YyOovcfXFulqz3gOAUl0wDwjNo9vCA09J5wL+U1/IV7WeRcF38w qPakZFuW3EXu1Ud9w9kfHoufLw== 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_705745_5AF0109B X-CRM114-Status: GOOD ( 16.32 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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: 13411604 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 84085E81DFE for ; Fri, 6 Oct 2023 13:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=gaeYp697dMWrYPyvsQzKRz1fLjuHvqkcM3gn4EkyDVQ=; b=XJgyAmSIYqSfVR NdJwhMQ3ZiwggBzJVbEMclbo1fg/PxysTsKzfkESmVFmEEDLh5fUhYdyq7Vn2BtJCVGC72ohP3Qds UWhHjdz4hDXBgEegupBMAB3YL0HrIaIIz8VngBTlj1QZIZRSLBJ++XlZj/6FKYquOTOjihdBFttER ePSeNIxkwWyp07gJSW7B0aLjo7uRYMFXG635f6u43xtd/g3TYILjsXqxAxQfKMQaU/rTafLqgcp1Y v3H+GFZK0Txs3xMmXpZsfp4l+hsH6s4oIRi2eoRaSB2fzKG+5httegLwlP66nTyWOq41PNNYh+EE3 fGpdyOi+dWTxNdeZu83Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAD-005vGJ-03; Fri, 06 Oct 2023 13:46:45 +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 1qolA7-005vBS-11 for linux-arm-kernel@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:39 +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-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA0-00CfUf-1S for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:37 +0000 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-504427aae4fso3995723e87.1 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=k3fb+cnonoM94pisLSBjQTzWFDJRDsUSfUrfZnF1mULuQwyoYZLEnbYbgWVR3ZC0gF npdgrU6To81fhFnhalYD9/B8HewzvDgMB5Uo0OP7j17aGCVLczM5nKXMRQzhfFImWyXS eqTRPLMmGgtLkc96+t0HW0q55Vf/ZzUw/TUrTldWw6lQL7ccROAjc2zkAA7Py5G+Gj+6 WSHivSW0wQwdj23fL3f07yhKpe2RTWGsNypmRJ3RmFPcLxQwEXxHOgkIUgvQYPpZL23R fQ4EoevEds1Gu1iXyNFovXBBtzNkcVvdKdznD22lwAIlsTa8yCovBbiSshyx4JzKtgTM SYGA== X-Gm-Message-State: AOJu0YzSm/CYYyvo6eHMYtOWoIk2c/F2iYR14QbLB4MDiELzLmNlsVLD 32jepYzpW+RlSedeSOjWInT8IA== 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_295988_DEBB5852 X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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: 13411606 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 10552E81DFF for ; Fri, 6 Oct 2023 13:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=vXFwupisFN0kj4l01WjA3IzhkAAVHi3B2781jnduUj0=; b=bnMjjBQ3NQozmQ Sg8aAGrDif0ABm0DHqDzCZlQw/Dq1TgptxGaB+gDQRLB1wdBxASNoJrm7Mexn/cLvJZ/V1mtoU2gb Ae+1HKtfjtIi7/51VvQ3XOcHbWFYRYIm+7XRFvvPY5gDKZ0ZWiytK4bbALtTKhRxtQFeqINjx4ADI 25E8YfxKq+vIyn6JDeTyahidl3r3lUPOJpr0C3wTri5GtL0LwRLFgq2pQMzLMmZ7ecsdq+mMOWrEx xv1c7vg65mP0fZy8AnExYrxacG8Ls9vnX03LCAO5xXWnRNrSk2ZmUS9FfGKrlUQ9hikhG3tU08Pyy 84NC/d9UqlCxBEBP4MsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAO-005vNq-0c; Fri, 06 Oct 2023 13:46:56 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA0-005v6Y-34 for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:40 +0000 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50567477b29so2795598e87.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=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=Shb2o+ZVbkh6ebN0ngeM2syfaEiRlWMS3XkbHAebwrwMhyN42spdCyTQw/PN5cenMH eS6LmTwVJEDyGofcz9QS0dRGmYqbpxnZvsGumJG1a8vV8w/u9VcaZpzg/XXed9ECpMF4 UjtPiUZRX7SDSnrz7jzDgWYxcH0cokUwLDyHmMqmlRa5L6UVjvw9ZL5kVMWdXBEErOG3 erpMeImBJJs/xr4dSQX9PFH9nt9ALCdWJaz6fXMIj8HmhQdCsfmLcN+m34xy4eIHZHLK v4KShNYsg7L+lzPIeaKL6hkp23fISTpRlbYurzdqzgekOnfjdSkXjB++SGoBsjRPo3XB /TTQ== X-Gm-Message-State: AOJu0Yx/7eqDiBys0PI8122iXH1P69afFfj6W0VUk2amzLAFEG/HfPXZ taF7P0fb8tDH4ztUCnFON7bUbQ== 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_064632_997666_7C623E7D X-CRM114-Status: GOOD ( 11.13 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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: 13411608 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 5E8BBE81E01 for ; Fri, 6 Oct 2023 13:47:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=ZyNOajC6ZjVux+M5EqWEAu93wCc+MvO3FbJmDnSGE34=; b=N6Z+sdg09KGAY3 OrNIsvUuupfL6nQtdLYXa8rPpz0d5zEe/F7x0RMHX3b+e0ysJHKgAG96ZCevqb7W+YKgmFAUGdvjD Xu21db3/SKhA8EiNA6VvoVp+4fQDm+Qlsmx0gM2T9DBGtAPxGHdOrerpkQUbb5jQqNxzUpxmUxZIZ hMMuhA0upyiJP3bSY+CsoZWBzeJT961KGJzllOBm/FqNWPEb1tYw1I96x7zjz/PVyyuLUnIjYQGtl oSIQHBZPmERmRlDTD9KQ8BbBS2RCbxOCkqrirm98fAMb73Xb7++RuCyTCurotrW5zj7vcZNac/DsU F6HGUQR9Y49ow56HwbTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAa-005vXm-0B; Fri, 06 Oct 2023 13:47:08 +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 1qolAK-005vLT-2n for linux-arm-kernel@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:52 +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=4xkMTG9p1NQ0LVgSR1UXz8ORgmEVrpeNo+lHyOzhxw4=; b=gF0hGnfoj4JH+2LqwR8Re29PN6 8m4eiPkdG6aCrG5AmtZnD5CU6CeHBI10BBUrnDU7vFTZV9tZ6GA+SFtdpugfGdRfg+U+eDkQ5z6Yv A8yP6el5hlpc4IvXgdSFjK7Ba1MX/4s/U86lmIrJtRaHb182PBNmXHsgOE2iLlDnA0dy8y/f6j5VB hWtMCK6UOLs0zPGzoGDKFmKrjZJeZrbB7baexKm2AqdJvWwtXALsItj8JnyCPe1e6Vxb5ofGKarMi RjB3GvOaxtXGtKKkogT4LvWUWiEPi/EgrXNgPZwtuQrjaCjZiP1COhZuOcDMk5tlb6Y5Z8QXrzjae cGcAy/xg==; Received: from mail-lf1-f41.google.com ([209.85.167.41]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolAD-00CfVW-0A for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:51 +0000 Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-50435a9f800so2794098e87.2 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=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=vM1YQHkmqXYLjPshG4PoaM/76hKyMbPg3hfHRglE+UYmW2MeuFhuOisxcyzuIQJKqS D8o0ce3XaAete9Rk8KHaj4L/fAi+yvA/EbONtL3ZplZbMqC4Wmjjjje7fsElfduWsxf8 C9NDYvTLyyk75qcHtnHCfDnSdkfGk4iMpMbTNUILZqF3nTG26eWLpEENeTXdUd7HtMH1 7XhNSE4Jjo8/DfkRRPud6SqQ1Sg5ppZUCD9QItjcRFOJ3U53jlkmeKBJypXXrIrsC4p2 8sPup6vXRVUyZ02Cp73iABHFGPAmqyT/b9uNy0zrbTFhIN4gNQMCUP/GoUc8Qn3tmFh8 q/6Q== X-Gm-Message-State: AOJu0YyUaIhcFXGk6qAVrrlkrOBSlyUItVSpUzA40toB+IWxByvPkp3g KPnAMdUtGp0O+U6O3zYresVcpg== 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_144646_686320_29262283 X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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: 13411607 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 2AE66E81DFE for ; Fri, 6 Oct 2023 13:47:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=du8deugwANHdWbuEHYTJLrWqdMQ5+x0rOVzQujEzdcA=; b=APf9+c1pbQ9Nfb dbpOJ18ygk2HmStXE0N0rm0ypLrooTqqlrR/+qL0kJEo7cCgKhgkyJINxyVfeHpnKpYpEeAF7ip9c 3ch3KfMd12aNU9SGJAUMYylv5uH/ER60OwxK6YZ0DClw5T92Bw/tGfKIf4alZFh36IJHAC/byfSw1 pcYPV4zibaDeAT5DhCymbue54F5CeKruFm0ZvKyRNbAxiDmDiHUAQlz7ASpNoDeRWODqxfz6LtEQS JL1Ij2Uo3fU0GBX8RKKXT62cIRTSwlXpgBUWitmX44aDa/VoPRdKyTHdidYo2oUhYbK1Ov6nqcGmt HluhZotw0xJvBa1h8qMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAR-005vQa-0M; Fri, 06 Oct 2023 13:46:59 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA3-005v7z-17 for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:41 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-50307acd445so2713722e87.0 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=NgSOE2oYb2yQp6IU0U8WpXp+G+geAPsSIOapIFvFTdRJJ6lWxkwQokvrDqEJOlwdqm 5ha6v8JLITmu5kjojpbqt+hHSxl4G0cutkT43HrKLEwYYdT6Xv5FCIHDuZhsct6A2P0C 6DuU7s84bIlRrMqUCZU4Mcde9cEyHG7AC2nAO9w7ebb1M6jN5KhfDVhh9U8vEOu19DEx UtKPbaxLo5hQbq4SAWs3R2b1CojBAtFHlkva8HNR38AF5Z7uzkwhxR1vmFe0HvIftzd+ SFtPF/USrwu+wpWQ7elB1jhco03bcxEDqqxUtSmSMxUVILnk0J7cGVWkbazif2CgJlXH syOQ== X-Gm-Message-State: AOJu0YzR2lQqJ3i01NqJ+o3wWCzfM/Olzc8xo0jTFzSw1AtD/kfYe26M uqkbv3WUKOF2OcXLDl7U7iLHwg== 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_405029_6802E278 X-CRM114-Status: GOOD ( 11.15 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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: 13411609 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 07AE0E81DFD for ; Fri, 6 Oct 2023 13:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=RFxtOA3UPfIZsRFU6Tw7NitOuplsp7aYDUKCmiaRzeU=; b=W00Q7CNsZastK/ RSYaeFkts1SlOAAq/2Qg0vaVQ+41OccuLXaE+DqzjV3yR/orLjn5O0aoaewPzDtgiUIR/gO1egm5V xe0h0ibnRjS2jv3M0dYPJpyuuV5DQedDle/5PI6UyBkFTOoTWWzdwUdR9/oCHJ64pnGe88BGLkk1B iWO9wMlq8feMALgsINBMzwYM9X1ENHvwa287OAUrdDu5cRb0GiDYxWhuwWSLiihhJXaPd8nz1DpzI bPJerjiHP9/rBCCM2DSt3atfK7gY99ir9I7ymvbqtcJtpa+oDfr/391pr4DA7bve5pdpexGO5vj3q ksSuOiTIx68eDuTYGQ+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAX-005vVu-2j; Fri, 06 Oct 2023 13:47:05 +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 1qolAI-005vK7-2A for linux-arm-kernel@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=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-lf1-x133.google.com ([2a00:1450:4864:20::133]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1qolA7-00Fbru-Gk for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:48 +0000 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50337b43ee6so2777237e87.3 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=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=rmabLPmp2bRYArvlUqINASRji3EPF568dA55LxEs/vP7EFEI4j+U0YrGVnlLH5vcYF fywsI9X7qjNmXOOywhg6lL2hMahmO1AOVYJgr/G25mU4AUp+7uAaJOg3Kr0WV4MN8SWd F5WpLZmifPlGcODTWxI0my6ubtLVKlLR+OiO32BDTuE5vHcptl1sfo/Ep6uW1FfvDct2 +aMa4gbk5mBGLkBmURXnlTOB/Mb3l0xe1PhYCHkstLMhsmeNtEPoxZ/B1cQ/uYdI21g8 XkDBcZB289pVfkZvXgGFaZe0plmfwdIhNzbGil7zkXZ3rXLyIqvAaw9Jz4QiXcatGbL5 Nr4Q== X-Gm-Message-State: AOJu0YwFRxOhmb8a0H/AhjL7lPXfu5bwcn3D+r8zhkt29cWgDBO1P5rN 9jpsNrCDoAOt/EKr9DoYeZnDFQ== 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_607470_E6AFAF61 X-CRM114-Status: GOOD ( 10.86 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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: 13411605 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 ED80AE81DFE for ; Fri, 6 Oct 2023 13:47:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=BHUEXBlJgPIqYcfs+siWNTOFwuOIs7qexpcLy7eq62I=; b=GbmoVd5H7N2B5I iaIDAE+HPfSLOjjY1BztqWKN8UZtZzBrHuLsWdEhDaqH+JFIDZ1sFL7aCIWt0WIeWThVdQc+HHQ9i C3KgDCwdIWn5VEeqMlUnjScICZm94pHjbjMFEiRpmjIvIPOFmyff7ydoVu0AaCfYqrR5mk3medl9j nlo0gUQkbDLn73RO6nWpUNLHe6tlIQJGST9anWBlJtLVLf5vFZdyursXt9gHCDdo5GPhnjjwRGtZy VJOU22Fen2ujIkT4WuEzD7Mtekj7ezJ9G/PCtwem7teekDARdKCE99/K5MK6rNn2iuehah2522bPt ql2X9ZPBjArApg8SVA7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolAM-005vMN-2S; Fri, 06 Oct 2023 13:46:54 +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 1qolA8-005vCQ-1d for linux-arm-kernel@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:40 +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-x12c.google.com ([2a00:1450:4864:20::12c]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA2-00CfWO-2v for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:39 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-5046bf37daeso2812161e87.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=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=PgyvxME6taKfr7/M4SBkjXjHUtx09cc1Ipvs4JVbHkgqjOnCiq3JHs6Jejvv2KHPgW ldi23XEjK4hlFm+2QIq/czddnji+bncUO3NvNOtySeZu3a/kAf39NrTcYtMiP15Txk1E ubgRTOscHQ8o3MEEZOvnUrxVvMbS9QflDF55R6yJleALGIYhfckhmgUSnTfE5Hp7zSEE 2CWuLhUTBhmcNdX+1TsS3Gx8xv4Az3HUwlG8Wjtyud9ZCIb8hCQBKKUvdKR8DzaFHCsN sD7+6TjYQwydsTFbW4cUolXfTChnFhoXjrBsg2qJeb9o5RqvAPLtdVRhapjIWtgPLpaL jc/A== X-Gm-Message-State: AOJu0YyONoqoYQqxBGM5Ax4h7VXrgFxelmmPoVYcL6MXiRISGrYBE8/p m6neUe8/0u322QDSnh6Nqi8BxQ== 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_144636_773399_7DBCDB8A X-CRM114-Status: GOOD ( 11.83 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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"