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: 149257 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp342800vqo; Fri, 6 Oct 2023 06:47:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHnDSfRS69qFXrLzcm62DPYqkNGqi7bGtNz5vTJn6tcnJieNYz2C2ORbOYHukLL488ZltAM X-Received: by 2002:a05:6358:440a:b0:135:3f5c:9675 with SMTP id z10-20020a056358440a00b001353f5c9675mr8590812rwc.19.1696600050370; Fri, 06 Oct 2023 06:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600050; cv=none; d=google.com; s=arc-20160816; b=gVvxrjN1etMnwPL4vQtvX/GiV9ORthoghuxJqa1jRdgo3CreVMMOkEeJtMnpoDdkvP 8M0/XI5gJdpZk0545IBAoDDaBejSaAP9yL/NWdTZ7P2hcSffYQytel0A7jjXB5wYVTIj q1aFYGdYbDLK35CRL8L1TI4S2hjEvVfPOkYsVuSVInUcFfanGpcNMh6UHoPf00dK/pXq DLbNYy3q8P3QVdLopoUig+ZeT7iIzjK3X4BRoujqo/ZMDvhTZZR1SWGUNo889HvX16fu 8c1Mjt11Txmo/ZwpUJ3wPbyN9NmhYHX/QJSnpVOfqh6x5EJ1LzUcAev8mxl6GAYyaQ7W u6MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=tcctjBppf75NLO6YkO8Pl2INJRmj2vKxlHT5saQtZoY=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=ViKr/JUWuwGgnPHJh0SeUPIhAheObtW5hDsngoU0XSKPVlllppgkSAeSem8A1lI0p7 HK5wOm5V0uwqwTiZiqLhsdjgx9B0wgqugHopEbXetT0Hpu98KSlAAJNHFSMPFRBS2y60 G45zXrvh6XgIRUqcKYUTZ52NB/TnADqIhoxqp1O66uz9WKXAQkB+Z3wrhRJFdI9sMTsD QksfB5zAo4n01hD40oKzm1c+R++1tZ2zwvTidjeQHAZR2W/+Dve4vZho0Cj5hHMftGpA O48kgBMGGehL52d7KDlc0ofSRLfPojnuzOVOQ/fV34UH0pYA7Isl7x81Je4IlLE0Y2Gm wDEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hRK0p2q2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ot10-20020a17090b3b4a00b002747b95c23bsi6343136pjb.110.2023.10.06.06.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:47:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hRK0p2q2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5FC99805DC05; Fri, 6 Oct 2023 06:47:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232679AbjJFNrW (ORCPT + 18 others); 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-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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:47:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014094305852013 X-GMAIL-MSGID: 1779014094305852013 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: 149258 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp342917vqo; Fri, 6 Oct 2023 06:47:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IELns4WiqZjftQxTzyOZUk5znNnfTQF1eGlesgz3zNM9su2uEy3peIDAvg7RzXfQFtkjixC X-Received: by 2002:a05:6a00:b52:b0:690:15c7:60d8 with SMTP id p18-20020a056a000b5200b0069015c760d8mr9779556pfo.22.1696600062472; Fri, 06 Oct 2023 06:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600062; cv=none; d=google.com; s=arc-20160816; b=DEehg4GltvFXo7WbGXm9x/JUQKyVFU65Ke6bwsc6ccIKoqH8/YI+UKlvcqDjXn7By5 ErYGMk07YlOIAlpMqg6vEEIhjKPpfNN7+rEkOzwXtnSvQh2kM1cGxKgbEnvcWfL1vzZ6 mD3hh2Mf/HskuP2uUXeAay1Pe+60qdofJhQ1t5VJ5PiIfCsVyQL05o5NzKyotSqxSdMG N4vgPtqoD9z80JxENd51eTu0FoYHv7BSqbUrAn+5z1N+IaffnvlGuxgJJZBfUNBZYtrv O1w3UfAcd+ANgk64jGRhQDt4FPDRct5cr2xfjp6tlcWE6iRlVB3aaI5ifanQ26lA0pJp ZwSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Gs9kODHBf7pe1hvttMIGP4XQeIHebOI3TikCUwTzhsU=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=EgyBN0r5DM/VgH1qJNNLUQpZx5IS0KyGtPtxvviaOKPGaywBHjtRKrefNQ1hMWncP9 JWIdLpKK+/RFL8jQkU+lahky+UHR8LdUPCVw0bGUFr2r55kgtvxZjbnV2IgXbRQmmjzA /1RpnsKJbz/B5KavK3/iOBDCaYAPTPuw0nFEZGcMD9idznCD25M2n/KFK29wTs9uh4Bb dnGujBalmJlhb7zb2ktc+XbFVB4gY5EtVoi8a7vWoAmIsIdzeTUg+RXcnJn+G3khgjEB eHi6Ps+u1igGjmgqgJP5/FSsuJV4f49LQcsR2lLHwMrC9I7DrOpsSOlywF/YcxZ9TlIe YQng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hw1Xj9YD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e18-20020a63e012000000b0057771e49c25si3769308pgh.693.2023.10.06.06.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:47:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hw1Xj9YD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5A11F805DC17; Fri, 6 Oct 2023 06:47:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232699AbjJFNrg (ORCPT + 18 others); Fri, 6 Oct 2023 09:47:36 -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-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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:47:41 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014106870406522 X-GMAIL-MSGID: 1779014106870406522 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: 149262 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp343151vqo; Fri, 6 Oct 2023 06:48:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFavQBRXNr6RueBxcL0BYRRsCNK9DRgWF5ymA1ap6Bh3tMcCPhq472fcjKDFZJh0s2HgY19 X-Received: by 2002:a17:90a:d796:b0:279:e3a:1bd3 with SMTP id z22-20020a17090ad79600b002790e3a1bd3mr6475146pju.21.1696600087359; Fri, 06 Oct 2023 06:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600087; cv=none; d=google.com; s=arc-20160816; b=Ncx8shBFYYTa4cC+NjW/UFFVS8aA0DAD2wxptVnbw8dNLLWa5Hin3Ds76fXiDU3sF1 XGFzsy90wqciJsC/NzwbCnHym5bfB90q448MQF40iyQJP+tu1sde8AfzJ10CAs/HbXlO JoMNPhdsBajpv+wSCp0kMnPZ+rf6e3J7bdxw7vwksaghomGBv0LB1oqPihbia5DxaFM8 Lqz483hWUttqpo4o2L50JMENPSWGqUFRmhEkT5WIsHi7Z+CWFfdOz7NhfoS3/sv0j7YO zjlWeJ8wIGPyQRdUbHn/t5PuYGIh+8WMbYqMtqXCaiSgB0XybT9XlgSlWijXQGgjVJ9T cLjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=rbOUvzEjDlea4hheqP+YItFqmSWqoancs5Dg0PuH8cA=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=t2L+nhVeCDnl5R7ZEBMUqrrnE3B5uulS0u7fg/yT++/SRNKFQ5Eh0pzLkIhAysKTEH 2ltTsCUjQnxXEMV0Ockl5I497WG8v4xlY0vopTzzQRbPa4ueg34Z5Vq9BzVLj75gxAKm qy2WSxiTFtrvNpblQ4mobDxEJQTgsERk0xjDfhwFtIBGRAmhzAC7IOj7QFDFvKJxn48M fUR8/XTH/c2jc8x8aS7BYMogPoi0mrJL9hi9IZ/sgh1eJ8QQk/MvNgbtWGmBN45I3pfh 9hyJZPS3jRl0a1BC/27BbL+8ynwcccUqn97ZYKaoXTuAtF7PetuqP0UHtZ9tbDbK36Gc ywhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mser5/1l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id pi14-20020a17090b1e4e00b00276bf69ac44si4268682pjb.5.2023.10.06.06.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mser5/1l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 68B8D806AFE4; Fri, 6 Oct 2023 06:48:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbjJFNrb (ORCPT + 18 others); Fri, 6 Oct 2023 09:47:31 -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-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-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:48:03 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014132979145455 X-GMAIL-MSGID: 1779014132979145455 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: 149259 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp342994vqo; Fri, 6 Oct 2023 06:47:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEiHGeoVQmAAZGiyD0JZpFUHx9jb61boXXNysqwYXQz4DtZcZNaJeGRySZc2bHpPTy6oBXh X-Received: by 2002:a17:903:41c4:b0:1c5:7d49:570e with SMTP id u4-20020a17090341c400b001c57d49570emr9195168ple.29.1696600070838; Fri, 06 Oct 2023 06:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600070; cv=none; d=google.com; s=arc-20160816; b=VQHMKzLxT47dRXMLBAJsVzIx7gjrY8AK7BuBmV4Vhm/NBSSQJkQxXULFg+XO0+oRPe qfNy7I3nZzNcviJcGqC6IqLgU3NrzhnbNZdjrnvKUSs8pJ3dPmFaTv9ErSkgOjF6WSKL ZhRjiOTZy3ERr33oPOI4aGYJ8DlYnGuhoyN0lZWTSQkri/m37+nrKV0tQj7+ggG78ffP myU89N0MuX644yKAPOC9R1NFgDU2weZs5KOafuSmndn8WnHmJUvWHWy7iX6rEm1IaE1y Pr+ES3Eg+I7pkDAcjYk+11iMk0Ny1Dgz98aJ+DsV6DJ+i4Q6M/S41OJEf9Cn+6aI/hhY Q33w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=yLHdfqqmxuwlIGJBiB8XcSmFMMCFwMYGv/NG27m7YvI=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=op/WxkGDU9DO0+d3fhXkH0hy9cDrYx9snouTBU/ioEtVwfBc+SQSA+z/hcmrQv3lzq 6S/Kxf1JxJGC13Lfm1vl6eU3V3FZtQgjsW9Xndy08P5liwJcNrf1/wpdVOgntqLk87q3 hDOwLtOVnpl1JZMPbmc3ccTQSUWKmCvsTMiepRZ+qZ2ZRBAA9VaeriNYrH8DHdP9mDzK 9j9JahshM08242bscztc08KPvmjk/QOKE5eDXVhPBSvBORSZvORF5whRAC8DfCIoSNux M+2p138vXnwCMVq+F2WnfHgYNXzIrwJwzED4buvPdGlff1lL+sla8hjC8nLuBMgwCGDU 90iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=An+M2HyR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id d4-20020a170902cec400b001c5e0672f53si4012958plg.466.2023.10.06.06.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:47:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=An+M2HyR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 0A1958051ABE; Fri, 6 Oct 2023 06:47:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232596AbjJFNrk (ORCPT + 18 others); Fri, 6 Oct 2023 09:47:40 -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-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-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:47:49 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014115839991375 X-GMAIL-MSGID: 1779014115839991375 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: 149260 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp342996vqo; Fri, 6 Oct 2023 06:47:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEd8z0oFWxZQWS3CSvv3kh0vkYX5tfFiA1SBVsSWkPlKNOZa6sUyCrROc1Ou0gkhXkSpUj X-Received: by 2002:a05:6808:278a:b0:3af:b6d3:cda0 with SMTP id es10-20020a056808278a00b003afb6d3cda0mr6134350oib.40.1696600071208; Fri, 06 Oct 2023 06:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600071; cv=none; d=google.com; s=arc-20160816; b=Hx+dfxObViWd9cw8uVHK0F6qls0No/a/IAypVgN6eDDrQWlaE9EiiS8uSBvlhUpmg6 GZRZiZ84bHJl0vK4wXOijuQiIuC7L53OMFQiGzky5Q9nMEam/+D1+N6gr+22alprT9p2 a+uXWYScyK8htxkV2tPei6jzOFUf5H0gBWQoIPEQGT117/SMpldH+gxUVCjvzPMBE3xB jGqEhO9pOMKUyG1YVRNufJVdlCIuxyliqU7DQkSroY5cAyumdTlI+uUlymIS+WdnkL5O 1r+Wsw31WgwC/tI35S2je2MTxQLLvBWjnRZWfK8Q3CT7ibLZbDAM396YKFrGdnbLyHPe 6kow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=4xkMTG9p1NQ0LVgSR1UXz8ORgmEVrpeNo+lHyOzhxw4=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=Z4voZSlBBNWh6vu+wzLGkdEgOgPkbTWp//686v0a33BqQTa/BeFl9Q0vTc9hOfzEmf 4dHsxUiIadKR4Of9JzrUQksvepDcSOVJEEqgGL2pOZ/HXXgwkalcWheRaW3iXQ3aLOki etao4OyjHkwChfvXGPrgRcRHH33MhWRr7b1rDKnmGJWHTb3wjgpXr+gtArjzHiPPcALE 7qllJQdIguoSnKdBX/eSYs69PJABcEmmBFFHasvatQ+V4MQPlM16qriH8s1WsDVFKz0Q 8cAir+m0M3gaVAaDLCvIdFe8vAwiQnrDTRM+brGfYQr8Mj59Q6g0xwdT4NCFNNmG2F/p evXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IohHMP5v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h190-20020a6383c7000000b0056536fc7901si3685199pge.593.2023.10.06.06.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:47:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IohHMP5v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 74D4E805DC2F; Fri, 6 Oct 2023 06:47:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232716AbjJFNro (ORCPT + 18 others); Fri, 6 Oct 2023 09:47:44 -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-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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:47:50 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014115814534891 X-GMAIL-MSGID: 1779014115814534891 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: 149261 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp343055vqo; Fri, 6 Oct 2023 06:47:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYiawwGoJyz0kIzxmXCrXqojCHR6yCrXIwG+nFpTPVG4e0ncYf8cmRpA2SA/cOr6FcaX49 X-Received: by 2002:a17:902:d2c3:b0:1bf:826:9e30 with SMTP id n3-20020a170902d2c300b001bf08269e30mr10051220plc.16.1696600078230; Fri, 06 Oct 2023 06:47:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600078; cv=none; d=google.com; s=arc-20160816; b=RvVDbMHX/VThA8oFXjwLvMpOdkztNENvAg0yT9FaKSGcOHhmvOqx5oQz808EG9u9O4 Hs7LQ62lG8PIX2aRpssyWCdosFonL/Rnc0ycF6PualEp4B5R3XyaG7mrW/vXneF2Brfn IpFNf8xk/n028p1fDqWQ4hSkixx0ijK0b9o2BXHy6+shRrqbsRMkcbg4j3nB8pjr6HtX xFaSbcCMc8y/hbGj+9CZzI2YW+ytdxbB/I8Fjzhko6ggr3IPXsP2endgqLoLJ5XkLvdt sRWrq3PwmpNIJXJhjDo26qcqnbfTLk1wkTTPgZWrdrSOtWhEEQzMCSetCAOZ/akmwBlE qOdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=UKUwyfTTneTxSGqUZGpPDlenguAqMHPKsbdYxdaEdtE=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=tjEmsOkCuvGtpEjGRHyAwgsgKn0SlN0H0I0mVcqXbeLPyQ/dMHql/4Ktp1QlbKchoE HFWBe8KhNkgomavXOZi/bJNWW/PpzWk39wf9oJHReolzYdXpO/SKcKxMBYO4PyOAb6Hb LkadR0rgI/rPnXkAb0Tnt9G9Y4D7dGTBID3dUMKw1MJoN1v5PrBcdWG/fR7Oc7tjALXH 4xDrXrX7IrZbowhkEtmhtu5VevUaDKPUvqpDl+Qh1CYD0QzmH28rz+02A8HjqGGkBQRB Bbjuk9Kng2CMLNEBci4lubThiLQkHlyD1oO7o/k1dMulDjd44QiOy9aPSwdAoXABj6lp K0NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tmVsWWaU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id li11-20020a170903294b00b001c43ff69d93si3450437plb.324.2023.10.06.06.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:47:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tmVsWWaU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0D0E8805DC3F; Fri, 6 Oct 2023 06:47:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232607AbjJFNrx (ORCPT + 18 others); Fri, 6 Oct 2023 09:47:53 -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-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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:47:57 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014123325270904 X-GMAIL-MSGID: 1779014123325270904 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: 149263 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp343152vqo; Fri, 6 Oct 2023 06:48:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH47lx0UZpLPG0TzUvcenSJ7u+j5RBQn3/J9+uhh70V01RbVkGidLPrEPuaz1oDJwStkLmP X-Received: by 2002:a05:6a20:565b:b0:166:cb8a:9831 with SMTP id is27-20020a056a20565b00b00166cb8a9831mr7477852pzc.20.1696600087523; Fri, 06 Oct 2023 06:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600087; cv=none; d=google.com; s=arc-20160816; b=f26HEizJ6HjM7D39OeyxLVJpAfsBfvB4SvyTquCxi0FEscABa5bYmCzLHTgUIR4GcM 6k23ZFvXhzj4jEPLKHTijM7ZHg0EMoy5YTObXmbSyhaWeooLbs5m/z6w/Lks0+xff4bp ydoWB9isPjH/QJbIkGf1sfTyqYUSVSO/PcqECoCs/X5vVdpac0woTQZYMdC1wytD6AA9 i6LK45V6K72JV/PNGRPQjYh6PiAylOhBZRaQYpnUXYMUuTPXvd/9omTvhtIevd1xlhQO ZBuEsnw7vhpUUvFuerIHaX5AGNNmeqa5q9akFCGTfDoB3WVijbgZQkco9ZPNso2G2KeD OlRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Asgb8OAKdQDCRC4VclzbwAu62WhyUIsTAbJjeqQexwE=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=f77dFeRNaOvCN5ITB3XruJe7JV0KzsoTvTbGX750/iAYIouDWPMuykVquljGlQjtWI iLcVRNV03RKlYlzxXK/BpXsxm8mq2TIJDB0EyJkLAkVS0jrmrUz983mdKVOuUjRn0hiS 6GGEy7d2NeNzIJhWXg/UC02M3TdCl2nlBhNQUtIatRHKzrngw4sNBVTEYXjmdKxnaJ+v E4IjPfvkPF13XG+g+qps+0UuQIe7ITgPwHheH4x8nWom513pzw3ZZnhclBGmGv+bU6hb 63K9nnGZBwysX7sbMSQ2bAb+QJHigJE11hfXidpglY8SC/vlYrxDj9GzYR0M6avXHqWM 6ORg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r3Drxtyn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u1-20020a170902e80100b001bf1a9dbcc9si4007005plg.549.2023.10.06.06.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r3Drxtyn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 942388051A06; Fri, 6 Oct 2023 06:48:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232487AbjJFNrs (ORCPT + 18 others); Fri, 6 Oct 2023 09:47:48 -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-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-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:48:05 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014133132140816 X-GMAIL-MSGID: 1779014133132140816 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: 149264 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp343272vqo; Fri, 6 Oct 2023 06:48:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEHq1DE3S0nBNNSEyZjKjUV72bnF4QEK5Lbi7JhGUbuSITuKZ68XR8eRYh5Qvvj5w+y+yun X-Received: by 2002:a17:903:2282:b0:1c7:562d:9b16 with SMTP id b2-20020a170903228200b001c7562d9b16mr10143988plh.24.1696600101404; Fri, 06 Oct 2023 06:48:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600101; cv=none; d=google.com; s=arc-20160816; b=KOR77ZTdh1ICJWMHGI1SBoq0q74VMIMsn/N+2TYvpfd1mcafMXPfoI349g0IuSaaCO u82yb7FRu1KdDyQUyvcxqyak0bqL7EgMZamsO17Cj2N9bHj3+mI/tlGUaOfsNjZPOO8q 5lyU8qs72sTEGbtzMnKyTvxuw9NJuL3h3f49+5ha0j49JW92uCbSOFlrJ7TWtPkH186g SmC3msNKqQKWjs45ysJ6C8ZK4u5IZQ7FfOS38uAuJcaY6XITXJ3LfvV6pTtlV4xIoc0X 0TG3qZ8n2vD62aRgEQg+Yk8JVHzPteC+1OlwmH9eNpDZjMVrRWGVvXuXrvc98o0ET3nl TCgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=LbIwSXH6FjrGWEWkB8T6Lc3o+IPSoQUzJoJygEsVP2Q=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=uM8ytZ/fueCxZgpjO7Bj7/VTeIawkZulOYzk6KQVi63VnW4YKfRF7eU5pQEFj4+nLU eGbQQ41wkOoumfPJPbHLjOQ8+cM8lvH+2mrDPhj1kDc9yOM7kWzJpRfbixfgIuiiLHWO dqIx/oqgHfFTIPRNXZkmf1FdXICE9ke9XskeHNP1kYaiASNC34iB1jvr58l0CJMn6r3F O2lIoYPx4B0LreCLuum08Z9afhNl6qjXR7JwOsvYgnJf/19/r1giUcWSRlwpyJt+Qarj eeGrsSEEoe8/Y+0/WDWS9yNQvjeWgJwOh0hCL+Gmx5cl9C0HnQ7sInuXB2gZ+DGWr4xv CqGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M3oq6ZOR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id q2-20020a170902dac200b001c76a2ebda0si4029518plx.502.2023.10.06.06.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:48:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M3oq6ZOR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7707680B2898; Fri, 6 Oct 2023 06:48:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232570AbjJFNr5 (ORCPT + 18 others); Fri, 6 Oct 2023 09:47:57 -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-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-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:48:14 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014148336518434 X-GMAIL-MSGID: 1779014148336518434 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"