* [PATCH next v1] ASoC: codecs: Add acpi_match_table for aw88399 driver
@ 2025-07-25 9:46 wangweidong.a
2025-07-25 16:36 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: wangweidong.a @ 2025-07-25 9:46 UTC (permalink / raw)
To: lgirdwood, broonie, perex, tiwai, zhujun2, wangweidong.a,
thorsten.blum, colin.i.king, linux-sound, linux-kernel
Cc: yijiangtao
From: Weidong Wang <wangweidong.a@awinic.com>
Add acpi_match_table to the aw88399 driver so that
it can be used on more platforms.
Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
---
sound/soc/codecs/aw88399.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/sound/soc/codecs/aw88399.c b/sound/soc/codecs/aw88399.c
index bad3ad6b8c0e..c23e70d64d0c 100644
--- a/sound/soc/codecs/aw88399.c
+++ b/sound/soc/codecs/aw88399.c
@@ -2330,9 +2330,18 @@ static const struct i2c_device_id aw88399_i2c_id[] = {
};
MODULE_DEVICE_TABLE(i2c, aw88399_i2c_id);
+#ifdef CONFIG_ACPI
+static const struct acpi_device_id aw88399_acpi_match[] = {
+ { "AWDZ8399", 0 },
+ { },
+};
+MODULE_DEVICE_TABLE(acpi, aw88399_acpi_match);
+#endif
+
static struct i2c_driver aw88399_i2c_driver = {
.driver = {
.name = AW88399_I2C_NAME,
+ .acpi_match_table = ACPI_PTR(aw88399_acpi_match),
},
.probe = aw88399_i2c_probe,
.id_table = aw88399_i2c_id,
base-commit: d7af19298454ed155f5cf67201a70f5cf836c842
--
2.47.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH next v1] ASoC: codecs: Add acpi_match_table for aw88399 driver
2025-07-25 9:46 [PATCH next v1] ASoC: codecs: Add acpi_match_table for aw88399 driver wangweidong.a
@ 2025-07-25 16:36 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2025-07-25 16:36 UTC (permalink / raw)
To: lgirdwood, perex, tiwai, zhujun2, thorsten.blum, colin.i.king,
linux-sound, linux-kernel, wangweidong.a
Cc: yijiangtao
On Fri, 25 Jul 2025 17:46:02 +0800, wangweidong.a@awinic.com wrote:
> Add acpi_match_table to the aw88399 driver so that
> it can be used on more platforms.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: codecs: Add acpi_match_table for aw88399 driver
commit: e95122a32e777309412e30dc638dbc88b9036811
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] 2+ messages in thread
end of thread, other threads:[~2025-07-25 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-25 9:46 [PATCH next v1] ASoC: codecs: Add acpi_match_table for aw88399 driver wangweidong.a
2025-07-25 16:36 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®