Message ID | 20231006-descriptors-asoc-mediatek-v1-8-07fe79f337f5@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> 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 <rfc822;ezelljr.billy@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Fri, 6 Oct 2023 06:46:36 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50336768615so2828877e87.0 for <linux-kernel@vger.kernel.org>; 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 <linus.walleij@linaro.org> 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: 7bit 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 <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com> 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 <linus.walleij@linaro.org> 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: <linux-kernel.vger.kernel.org> 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 |
Series |
Convert Mediatek ASoC codecs to use GPIO descriptors
|
|
Commit Message
Linus Walleij
Oct. 6, 2023, 1:46 p.m. UTC
This driver includes the legacy GPIO header <linux/gpio.h> 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 <linus.walleij@linaro.org>
---
sound/soc/mediatek/mt8192/mt8192-afe-gpio.c | 1 -
1 file changed, 1 deletion(-)
Comments
Il 06/10/23 15:46, Linus Walleij ha scritto: > This driver includes the legacy GPIO header <linux/gpio.h> 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 <linus.walleij@linaro.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
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 <shane.chien@mediatek.com> // -#include <linux/gpio.h> #include <linux/pinctrl/consumer.h> #include "mt8192-afe-common.h"