* [PATCH 1/3] ASoC: rt1318: Drop unused include
2026-03-26 23:26 [PATCH 0/3] ASoC: Drop some unused GPIO includes Linus Walleij
@ 2026-03-26 23:26 ` Linus Walleij
2026-03-26 23:26 ` [PATCH 2/3] ASoC: nau8315: " Linus Walleij
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2026-03-26 23:26 UTC (permalink / raw)
To: Oder Chiou, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai
Cc: linux-sound, Linus Walleij
The driver includes the legacy GPIO header <linux/gpio.h> but does
not use any symbols from it so drop the include.
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
sound/soc/codecs/rt1318.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/rt1318.c b/sound/soc/codecs/rt1318.c
index 01c58b15fd91..a80643099644 100644
--- a/sound/soc/codecs/rt1318.c
+++ b/sound/soc/codecs/rt1318.c
@@ -18,7 +18,6 @@
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/firmware.h>
-#include <linux/gpio.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/3] ASoC: nau8315: Drop unused include
2026-03-26 23:26 [PATCH 0/3] ASoC: Drop some unused GPIO includes Linus Walleij
2026-03-26 23:26 ` [PATCH 1/3] ASoC: rt1318: Drop unused include Linus Walleij
@ 2026-03-26 23:26 ` Linus Walleij
2026-03-26 23:26 ` [PATCH 3/3] ASoC: ts3a227e: " Linus Walleij
2026-03-27 18:38 ` [PATCH 0/3] ASoC: Drop some unused GPIO includes Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2026-03-26 23:26 UTC (permalink / raw)
To: Oder Chiou, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai
Cc: linux-sound, Linus Walleij
The driver includes the legacy GPIO header <linux/gpio.h> but does
not use any symbols from it so drop the include. (It is already
using the consumer header as is proper.)
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
sound/soc/codecs/nau8315.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/nau8315.c b/sound/soc/codecs/nau8315.c
index 125742601f88..9ac2048ff0b0 100644
--- a/sound/soc/codecs/nau8315.c
+++ b/sound/soc/codecs/nau8315.c
@@ -11,7 +11,6 @@
#include <linux/acpi.h>
#include <linux/device.h>
#include <linux/err.h>
-#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
#include <linux/kernel.h>
#include <linux/module.h>
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] ASoC: ts3a227e: Drop unused include
2026-03-26 23:26 [PATCH 0/3] ASoC: Drop some unused GPIO includes Linus Walleij
2026-03-26 23:26 ` [PATCH 1/3] ASoC: rt1318: Drop unused include Linus Walleij
2026-03-26 23:26 ` [PATCH 2/3] ASoC: nau8315: " Linus Walleij
@ 2026-03-26 23:26 ` Linus Walleij
2026-03-27 18:38 ` [PATCH 0/3] ASoC: Drop some unused GPIO includes Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2026-03-26 23:26 UTC (permalink / raw)
To: Oder Chiou, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai
Cc: linux-sound, Linus Walleij
The driver includes the legacy GPIO header <linux/gpio.h> but does
not use any symbols from it so drop the include.
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
sound/soc/codecs/ts3a227e.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/ts3a227e.c b/sound/soc/codecs/ts3a227e.c
index 5ce0db9326fd..5a7beeadb009 100644
--- a/sound/soc/codecs/ts3a227e.c
+++ b/sound/soc/codecs/ts3a227e.c
@@ -5,7 +5,6 @@
* Copyright (C) 2014 Google, Inc.
*/
-#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/input.h>
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] ASoC: Drop some unused GPIO includes
2026-03-26 23:26 [PATCH 0/3] ASoC: Drop some unused GPIO includes Linus Walleij
` (2 preceding siblings ...)
2026-03-26 23:26 ` [PATCH 3/3] ASoC: ts3a227e: " Linus Walleij
@ 2026-03-27 18:38 ` Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2026-03-27 18:38 UTC (permalink / raw)
To: Oder Chiou, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
Linus Walleij
Cc: linux-sound
On Fri, 27 Mar 2026 00:26:37 +0100, Linus Walleij wrote:
> ASoC: Drop some unused GPIO includes
>
> This drops the unnecessary legacy includes from three
> more codecs.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.1
Thanks!
[1/3] ASoC: rt1318: Drop unused include
https://git.kernel.org/broonie/sound/c/486c06451590
[2/3] ASoC: nau8315: Drop unused include
https://git.kernel.org/broonie/sound/c/175b2d025874
[3/3] ASoC: ts3a227e: Drop unused include
https://git.kernel.org/broonie/sound/c/00e981c7c0a1
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread