From nobody Fri Sep 20 09:31:07 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43397E81DFD for ; Fri, 6 Oct 2023 13:47:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232684AbjJFNrW (ORCPT ); Fri, 6 Oct 2023 09:47:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232630AbjJFNrB (ORCPT ); Fri, 6 Oct 2023 09:47:01 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCA6710DF for ; Fri, 6 Oct 2023 06:46:29 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-503065c4b25so2863749e87.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=vger.kernel.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=hRK0p2q2Otfu7EV7elnz3NxGfz9KHGd+rELPh3AuB2i64zooZwg5dFVWa3hA+7u/1T zD/80o/Tg3wSuJBWchmNFkXCyYdAey/4Haj5ynazlk2cHsWWF9lbE3o2sby4/ztiT6U4 1+5aIGjrAGdVCagXzFAvnNT9bqOgeoJZ78QxGqUIt6bLWZLkaye8zA/hfPYvnNLzRmVM awIwLG6NwvtKMbq+Iwv1LwoHiyq1TwGdmm7+B3c2WNLBGfO7r0NLh+xFfGZmgE0Hbnw2 T+yi34V8IJYqybhPn67BZmXRcadOpbUGY/3il2uuKMhyrsbFo5BP6bN9UWeKuXShiXuZ D6xA== 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=awcxoLqHrPYWNCS1sk6T/p2xzAatkw5h+d21iPpFv7ogSyXC/INHRq8BoU/ka4HROy s3SLDCKS+cKWhI2HonRYP3I0R7CdFmKQN5g7UaLcikrVCWu8RPJb7qOYHxFK2iJYo1Ch vYePmErkEvszOm/y/RPwWVu98SrspgcpGuvjWPLmKV4hs2+qpidQrRCxakwfdcdf4G5V av5lLnfsmLVZdIYU7EHIkROZMBQ8d7WgOY99F+jTvi88m8MmLFn4yoz9miSTvAyGIR/6 ActZ5+Pk9gVyn/HEzeBwPEOywCctwP8Q5YaZZ3YNliOtpHu3YgL4kFCRQJ9flJEV3wHG eT6A== X-Gm-Message-State: AOJu0YyQG20WOt2GJB1ZjUhC+TU5z/t1ot5ha1lQetUEgblYSB20gLWM ej+aMBZXf8xhRSYB7uKj4iiOug== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 Acked-by: Bartosz Golaszewski Reviewed-by: AngeloGioacchino Del Regno --- 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 de= vice_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" }, --=20 2.34.1 From nobody Fri Sep 20 09:31:07 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BF90E81DFD for ; Fri, 6 Oct 2023 13:47:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232700AbjJFNri (ORCPT ); Fri, 6 Oct 2023 09:47:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232662AbjJFNrD (ORCPT ); Fri, 6 Oct 2023 09:47:03 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13C8D10E7 for ; Fri, 6 Oct 2023 06:46:30 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50325ce89e9so2817712e87.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=vger.kernel.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=Hw1Xj9YD8xe61mktLwaUCSoVaZFQprx2cR9WnnpaU3VFI5HuK8cCfMBuTkdjkCclva US3Ug5bxW+Z/ECcWRllOfLgJ+BoAqy3T3UDRuM0zzGfv84+RM6a/fk+JJ6DdrPX7HscN QS+mGvd0LIrlK8JBwJ3D3sAsFxSSM2pbxP6xiJ4+fAV4dqZ6naG7bUFnyFB8Psa20EtD Es5RipMrx3jMvhDnsTPJLTWpehMDU9JMbOBqQZDzfoiC58hWno2C54fUTO3/zryrxbiF oCcjbv5E1Jy+VMqCPO5OedugsZXCyvmgNFykVLZiO6nFi7iBwcNxR3i59ZkLpiTPdyhS ptBA== 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=ElbgLf1RwbOxlfeajR1d2WdNmBG5RcVSkzGtN7Pla2v9YmLOyY0e61/boI+O6avxxp hGT1hoiSkg7EGMySYDkCvygo+a9nwz1qaf8mCuY2mv7XHE2K7S1QrIT5Uywtywn+AR4L uY50NcS7y4eYBuXhJyRrLdQlu5wWMKcBcKskxWg+webvqlDt+VK6N0QJxNFE1XbMPo3l qruCudTlVdL+S3evZq8OOZxvDSi/zszd3R26zJaqwQIf9bhhiaCY5VcObLUjEA+3HYFW EZNmyKg2VypykgATvt3uXS04oDK9CcMbkNe0hM1IqoreaZB3l0khL4NtUJpgueUKx0JH YJlA== X-Gm-Message-State: AOJu0YxUOQ+bTWPgYiWTaR0wGubZpy7p0rR6evksmgfoU61JDGmVg8kX G1rC/06VTGH+OhSp6FGNkFSMtg== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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: AngeloGioacchino Del Regno Reviewed-by: Bartosz Golaszewski --- 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/mediate= k/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 =20 #include "mt2701-afe-common.h" =20 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; }; =20 static const char * const i2sin_mux_switch_text[] =3D { @@ -53,20 +52,20 @@ static int mt2701_cs42448_i2sin1_mux_set(struct snd_kco= ntrol *kcontrol, =20 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 platfo= rm_device *pdev) return ret; } =20 - priv->i2s1_in_mux_gpio_sel_1 =3D - of_get_named_gpio(dev->of_node, "i2s1-in-sel-gpio1", 0); - if (gpio_is_valid(priv->i2s1_in_mux_gpio_sel_1)) { - ret =3D 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 =3D devm_gpiod_get_optional(dev, "i2s1-in-sel-gpi= o1", + 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 =3D devm_gpiod_get_optional(dev, "i2s1-in-sel-gpi= o2", + 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"); =20 - priv->i2s1_in_mux_gpio_sel_2 =3D - of_get_named_gpio(dev->of_node, "i2s1-in-sel-gpio2", 0); - if (gpio_is_valid(priv->i2s1_in_mux_gpio_sel_2)) { - ret =3D 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); =20 ret =3D devm_snd_soc_register_card(&pdev->dev, card); --=20 2.34.1 From nobody Fri Sep 20 09:31:07 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4A81E81E00 for ; Fri, 6 Oct 2023 13:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232556AbjJFNrd (ORCPT ); Fri, 6 Oct 2023 09:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232536AbjJFNrE (ORCPT ); Fri, 6 Oct 2023 09:47:04 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AF0A10F4 for ; Fri, 6 Oct 2023 06:46:32 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50481a0eee7so4027489e87.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=vger.kernel.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=mser5/1lL17Pw+gZLiOv/Izo2sdLWvSD+5mNX5aQ5cCixs2F2ZoGk3fsNOq2JFsBEa lEFg8eR8JeCU8tqNOfT0KKaLkKmaYzIfXEem/WG/4UOgyRRrvftTcbWI9A9te2Ez+MbN Twd/xrZ1G8nr0DMAMxL27hlKLdrzLq5uglp3vXwoIvTaE1ZNIrkih0/et6lyCr1u38Gc BGtQmoefyzrZJUa0I+tZhq/7KtWnbuT9CDz/3UFHcVsFiGhpoiPEcftIfKfHLrV3UYOU 8udafGLcfMsSqT7mbcBOtKskFtdhNc+2jgpOu5K3XyEPfNuFPmFpQowRYC4RZZxbr7kv xDCQ== 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=XqdVK2hnb+FkxI5m4+O3w6aY9bMYLg/gd3tGhIYs4cEBaNg9ZclJBx4RtSH1SXq+dM XteJ/XupHheEiThMWq8NP7I5qUPvxOXcG/3ypV4f1fiemISOJ6YHx/ZA95PHbwnpWwGi v3zInsuZNxVG8atu3h3DAYkWOoycFrB221Bvg2oIOSgtROc2yNdFFT/ZTuai3e2Nmu0E oZZCKPa+HATVz38Wk30F8bJGSYBOpT12SqEUiLNqKfrJbrB/xuGNCRCKQL09APY6v2sq FZUOvYxiAiIVMA/GyAmdb4Btip5gEGxSiNCoHdDEbmErLoJfsf4WKVKW6bmK5cfZl3yw cEIw== X-Gm-Message-State: AOJu0Yz6qlIQOKlZe530+fwZIrIwn+WMl/WyyEVkvSCCzZQGfx7Ot7kW 4PwYOBwTBiVTI3LqJw8hPEBfpA== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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/mediat= ek/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" =20 static struct snd_soc_jack mt8173_max98090_jack; --=20 2.34.1 From nobody Fri Sep 20 09:31:08 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CC3BE81DFD for ; Fri, 6 Oct 2023 13:47:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232706AbjJFNrm (ORCPT ); Fri, 6 Oct 2023 09:47:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232535AbjJFNrF (ORCPT ); Fri, 6 Oct 2023 09:47:05 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6588B10FE for ; Fri, 6 Oct 2023 06:46:33 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50567477b29so2795597e87.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=vger.kernel.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=An+M2HyRVs4iN2pBuPtoRcc3nHvBviC/tHtdPinZGIyjpGFPZyvj1iY1ZOLuxv7ARL Phq0wH1vImt+1YZQNEAOpTCl7yN3g4fPpnpKza8EieA1wdldFIUcv1crR04DIC8kLrxk 69xXKoFqVdGYNfnX2wiTeru/LjhYxaYcY3h9RIZC/unGMh3bTin9dQRyIxRkcJzfPSh+ bPXWSd76h3X+mX5cNw8DW1j5ght61jUgOkdwMATJpPmjCq23558GqbMxGQLH8Y6Sa00y m9glru/IJPtj0AJHmfQTKU/v824q8YCTaednZa9hIZZuZSf4O0Qe8s/jEw/Hc2dqOkfA a4hw== 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=EiMrn86tP8A5aOCbj9qd7Y6Tii/tMsSrn2zs4y0THjXnldwwd7kx6q8lWQhPegvULT z+DuUZVQyg7E0aBFodzJw2/Xr5V5eW8ipSeVINHRU0XwHfN083lsOIiWzmL/TqButGLC 2idJfPZhOESTe2a5xRF02ns4/66zPYMAIo+0lGH0CLi58f52XJP46H7SiMfe6tDX9ex3 oVzOC+bZW+u843i1fhFgDHW9UaGlkUaFQLEDjIoRG0mRjNkLiw0E3201FRhlNwf+MHps nt2MEvG5lUaTxzfvdo6Pg6BsVZ2VTyBvHyalkWUPQ8Ti/KG/0Uek4caZNxJeR0rlDpoq xrhA== X-Gm-Message-State: AOJu0YyyzV8KSbzcA5r/FycZK2bgHBE23bVwoMebqhtAtz9f0+M7CnLk OXv+2UfgvwZ3g3dWCmbKFfMrYQ== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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/m= ediatek/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 @@ */ =20 #include -#include -#include #include #include #include "../../codecs/rt5645.h" --=20 2.34.1 From nobody Fri Sep 20 09:31:08 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4F2BE81DFF for ; Fri, 6 Oct 2023 13:47:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232611AbjJFNrq (ORCPT ); Fri, 6 Oct 2023 09:47:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232637AbjJFNrG (ORCPT ); Fri, 6 Oct 2023 09:47:06 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8DB81705 for ; Fri, 6 Oct 2023 06:46:33 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-50567477b29so2795619e87.3 for ; Fri, 06 Oct 2023 06:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599992; x=1697204792; darn=vger.kernel.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=IohHMP5v0hPswBYfGJLo9mo8huJ3hlAVgEmMg7uD822aX3RPnCQKBKBJHjkoh+NvgX k7c7QCrqL46RwS6dlIHkgq9MRqp60OqbT33GP4nz7Fmem7rHz6BRuxenRMcIu9UeQz19 BCDhMBlTOljXJ4X0pFr3ZCJe+m1apj1e6xdAcMyLcrZZS3vmnzrdkUt8DOHmrfSFoNMV dbgp62WcsPVHED2luOTkDSgJsfaTWA5pYTlqqvzkYTZN6wMEVLfLq5DBok9WaNh7hlUD TXDgf+2lQ3vkK9yt+MGdAMjm3Ud0BU0YTEkFXaDJc9haex3APuXhIas0X/RdKVK1tIST qn3g== 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=czgmwOYox/+F5qmgOsixuP+hUe8Xyr+b3apQAheQgcd6kwgGQ955dRzoGdj3ZT/XrP bNiB23sSJXZzS1ewOUP2PJZ0SZOKmscbg6CksUdq28Olpl1V6iBUj3uvZAYAC9fCkg7N EUcc7pr0UQXGo8fdvXDfYyg7LRessqqhg+966lGAIonykafDHMmFWw0qrBpv39uKI2+F OVQS/6HFkyEcbYu0uz9cTeex0b6mz3eOXIr9wdDIUUM0K/yKUj37smuniI8wWUUmYxCl +KdBN0iOFGrJ2iJ+a5dl6kpECndhbwWC1gak/Gz8GYq5yQT/FIb8bOytSL1fXA6dY2j9 337w== X-Gm-Message-State: AOJu0YyKezaGe8jNGJizwBR+LrIYE22T7WLe5Mq6iddDTO+Kcqgam8KL zN9J0OTeSUcxLU3eKDlcVlKxVQ== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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/m= ediatek/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 @@ */ =20 #include -#include -#include #include #include #include "../../codecs/rt5645.h" --=20 2.34.1 From nobody Fri Sep 20 09:31:08 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3EF4E81DFD for ; Fri, 6 Oct 2023 13:47:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232726AbjJFNrz (ORCPT ); Fri, 6 Oct 2023 09:47:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232640AbjJFNrG (ORCPT ); Fri, 6 Oct 2023 09:47:06 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 433CB170A for ; Fri, 6 Oct 2023 06:46:35 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-503397ee920so2701613e87.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=1696599993; x=1697204793; darn=vger.kernel.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=tmVsWWaUTaz1CtdFmAgQx56nn5SvV5LtDv9nKlx0kBmaMh1JQSmZGmTzWH7JmYX/IL sjUKyB3/y1cX7OWlm2fRcysiO4mMCS6xXjMQZR8id4gpfcdjR338eLyiatxmANFUnllu +hZj+iGC2tvRLW0N7vJKh1tzgCdOjzkIUUibparGYgy/HvUhgXubmIJR4vA+FdY9b3tU JyA1ambMXIBwTZAsznioQh5cRsyCOaWvNEGKB1K73nOWym6gvdN/hprlVe8z533x5VtC 7CGhILwIJYeFgG35wwQs8uL4gd56Y9pc3sItiAVHBkycxvUmKYa1YiSrG3j/xgXUX+qX rmcA== 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=X9a/BhJmo6hlA4psCUfp4Mu+ICvo0K9AhZKYNvSQsGxD1WmpVeN6TjEg4U638ZaAEK Fr4OTbE6hZMU5Hs7gr3jBCmIR/x11n5QcYDUL2Guci0pY+eRs1GFlHHMDCo6ssNTtFRo VnnYi2TmXl3JtUQd+bdpJj77y6Spg5i573zaoMOXhXowrNqGJCRvCkpdbVF0aJ3rStIp 8hh0pWIJ+vLtWx8po6mm9auGSohX0ZSnTKpI/BZEmkPXGIaq+oTEFIJARw6yguzOUUjB fRZcIw1hph5G1YGFTfAygNGJfPZXSw2GvP6TX88h8T1wdX+6pM1IqQU8G/fx8bzbkyI0 Q4cw== X-Gm-Message-State: AOJu0YwXXF1gr8ruzvdjzpnGZsyRI3QezGW/ayelIUXlLrjxHrXsmNRH dniw52dCabILr48MrF2iU+F+KA== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 @@ */ =20 #include -#include -#include #include #include #include "../../codecs/rt5645.h" --=20 2.34.1 From nobody Fri Sep 20 09:31:08 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0CA4E81DFE for ; Fri, 6 Oct 2023 13:47:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232491AbjJFNru (ORCPT ); Fri, 6 Oct 2023 09:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232555AbjJFNrH (ORCPT ); Fri, 6 Oct 2023 09:47:07 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEBD8170C for ; Fri, 6 Oct 2023 06:46:35 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50325ce89e9so2817820e87.0 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=vger.kernel.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=r3Drxtynyg9sU5uEO1LyIP1bt9R6q4O1eVXJ7hWMsiV4c0r+3/TIvZRgfpFmJpDYJm Kpg+G5ogDH6T0WU0O/Z2UrqZhLoSk8O1Y2X2J6N/rZKoMRRkIugvsDwkGqKLHSLztEU7 100YXqhjktRPItWwgUQAgomhHobeo1GUsP7CTB78/k8j5G16ieoUW+gJmujqJCAzbnck mvZtUW4B6BH1V5i5vOO9IJs19AidI3SkLNGOZpE0GM5b7IBAtEA1qyhuHBudTKbmopcd 5H/8u5B74dMkmbVB7Hoe8SvYOVljO0/MrraPepVe378AY4GJj3bIMcHOLW4OXd+9Og52 6+zA== 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=UUMmLgp3hN/v80c0Jf2flOcgpjuZvbBIE4uXLGyeCfSaJEipMKFw5UTCteR0X7HlkM U3MJgmMkwEZRv9OAUehjUvzLabgGNjHuTqxovU8sJcFJZWtFuPRBBX2aemG5ihTVZFJ1 mSg99+qKBJROX7Zkn1xGK9lZs033txGJ1yFt4FL0Bb/3JNAqK/bKZNCGsLY2CAUjmYc7 xPMEZ9H8RVb+9EsSP4XGtbvxrNyokEziowYFX5tQC8sDgnuONpmw5WMiu5ZxljGcga72 Onjx7H+YVebuQjs/l2ZAtn0WV6GOjKFFbKG+QaRgaPzmVNLEpgh4FkGH+ONsLRN4fnGZ +Odg== X-Gm-Message-State: AOJu0YxJrbTNEUPZfJVmslgAb8wu0deS6qHSPhkSUwWPIOYl2t96cNXr GaIH4ClK97P4Cdgoacwh4EnVkA== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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/mediat= ek/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 =20 -#include #include =20 #include "mt8186-afe-common.h" diff --git a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c b/sou= nd/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 // =20 -#include #include #include #include --=20 2.34.1 From nobody Fri Sep 20 09:31:08 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5DA6E81DFE for ; Fri, 6 Oct 2023 13:47:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232527AbjJFNr6 (ORCPT ); Fri, 6 Oct 2023 09:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232562AbjJFNrI (ORCPT ); Fri, 6 Oct 2023 09:47:08 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C66BC1718 for ; Fri, 6 Oct 2023 06:46:36 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50336768615so2828877e87.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=vger.kernel.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=M3oq6ZOROeph8Fv7ppj+U8piGVvV7XaktM+MOxQLPx9B0paNEapfFjo6X1QC6xuPtT wLE1Pv0qcPaDAXQ+V0lSGptIZk4iytMdr797zl26RmNgEaN+dVfLJZQGmkgovakbJnLH sP9iaC1/ueQXN35ckC5i0MWiEucemFCAs9Dp4m2eSXSEe50qCRDbdfcnkn4Z9JaV6UBe tSmKFLnlHgoudfzKLeRdiRZG6Dpz1MeykVxQ8ESOIMq5S57qnbM3W5qH5WAJWfWeOP9j QkznC7bBgxBvxgONArYT3LX2owneRc/FHO61znAEtPn9fEVzo179I0kpAvdyBvapMP96 ApkA== 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=xGFoGXxnTX0ZyfLH+l926wAM1wTDwUpkQS9I5rvUZE6c7lutBpM85idXHjMOoCifIn hgR2aOMG271KLovgkw3wTsGSPZ4fw0y8NG0nGovzbGyWhBuS76tYrA1gnDbfBlrx+4jw yh1YSCvPiydcor4zexgDr/lFdpc9VkqGgMRw59skTsIEIdS+DKER4q1tZGW5f6Od6F7k GKgArS3GWp3d2I4IR5BS8dWPKuyxk4KLqeWEH4yLafSMcR2zjBAISV63QLGrW7gYq4G4 gkXBBNpam1nAdGhFiryGaQTTSkZ0NbwavFLZWoVbQfoLuUqJ2mAqo2Et1dYXyk7howaX 4YSA== X-Gm-Message-State: AOJu0Yw1QFTdg18xqjhndxRDt6guYLVPZURab+vLzetND00K9JgKVDPF fTova2Xk9bzukwTmXyK3DxMW/w== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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/mediat= ek/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 // =20 -#include #include =20 #include "mt8192-afe-common.h" --=20 2.34.1