Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH -next 0/4] ASoC: fix module autoloading
@ 2024-08-26  8:49 Liao Chen
  2024-08-26  8:49 ` [PATCH -next 1/4] ASoC: intel: " Liao Chen
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Liao Chen @ 2024-08-26  8:49 UTC (permalink / raw)
  To: linux-sound, linux-kernel, alsa-devel
  Cc: lgirdwood, broonie, perex, tiwai, cezary.rojewski,
	pierre-louis.bossart, peter.ujfalusi, yung-chuan.liao,
	ranjani.sridharan, kai.vehmanen, liaochen4, u.kleine-koenig,
	andy.shevchenko, kuninori.morimoto.gx, robh

Hi all,

This patchset aims to enable autoloading of some use modules.
By registering MDT, the kernel is allowed to automatically bind 
modules to devices that match the specified compatible strings.

Liao Chen (4):
  ASoC: intel: fix module autoloading
  ASoC: google: fix module autoloading
  ASoC: tda7419: fix module autoloading
  ASoC: fix module autoloading

 sound/soc/codecs/chv3-codec.c          | 1 +
 sound/soc/codecs/tda7419.c             | 1 +
 sound/soc/google/chv3-i2s.c            | 1 +
 sound/soc/intel/keembay/kmb_platform.c | 1 +
 4 files changed, 4 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH -next 1/4] ASoC: intel: fix module autoloading
  2024-08-26  8:49 [PATCH -next 0/4] ASoC: fix module autoloading Liao Chen
@ 2024-08-26  8:49 ` Liao Chen
  2024-08-26  8:49 ` [PATCH -next 2/4] ASoC: google: " Liao Chen
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Liao Chen @ 2024-08-26  8:49 UTC (permalink / raw)
  To: linux-sound, linux-kernel, alsa-devel
  Cc: lgirdwood, broonie, perex, tiwai, cezary.rojewski,
	pierre-louis.bossart, peter.ujfalusi, yung-chuan.liao,
	ranjani.sridharan, kai.vehmanen, liaochen4, u.kleine-koenig,
	andy.shevchenko, kuninori.morimoto.gx, robh

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
 sound/soc/intel/keembay/kmb_platform.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/intel/keembay/kmb_platform.c b/sound/soc/intel/keembay/kmb_platform.c
index 37ea2e1d2e92..aa5de167e790 100644
--- a/sound/soc/intel/keembay/kmb_platform.c
+++ b/sound/soc/intel/keembay/kmb_platform.c
@@ -814,6 +814,7 @@ static const struct of_device_id kmb_plat_of_match[] = {
 	{ .compatible = "intel,keembay-tdm", .data = &intel_kmb_tdm_dai},
 	{}
 };
+MODULE_DEVICE_TABLE(of, kmb_plat_of_match);
 
 static int kmb_plat_dai_probe(struct platform_device *pdev)
 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH -next 2/4] ASoC: google: fix module autoloading
  2024-08-26  8:49 [PATCH -next 0/4] ASoC: fix module autoloading Liao Chen
  2024-08-26  8:49 ` [PATCH -next 1/4] ASoC: intel: " Liao Chen
@ 2024-08-26  8:49 ` Liao Chen
  2024-08-26  8:49 ` [PATCH -next 3/4] ASoC: tda7419: " Liao Chen
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Liao Chen @ 2024-08-26  8:49 UTC (permalink / raw)
  To: linux-sound, linux-kernel, alsa-devel
  Cc: lgirdwood, broonie, perex, tiwai, cezary.rojewski,
	pierre-louis.bossart, peter.ujfalusi, yung-chuan.liao,
	ranjani.sridharan, kai.vehmanen, liaochen4, u.kleine-koenig,
	andy.shevchenko, kuninori.morimoto.gx, robh

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
 sound/soc/google/chv3-i2s.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/google/chv3-i2s.c b/sound/soc/google/chv3-i2s.c
index 08e558f24af8..0ff24653d49f 100644
--- a/sound/soc/google/chv3-i2s.c
+++ b/sound/soc/google/chv3-i2s.c
@@ -322,6 +322,7 @@ static const struct of_device_id chv3_i2s_of_match[] = {
 	{ .compatible = "google,chv3-i2s" },
 	{},
 };
+MODULE_DEVICE_TABLE(of, chv3_i2s_of_match);
 
 static struct platform_driver chv3_i2s_driver = {
 	.probe = chv3_i2s_probe,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH -next 3/4] ASoC: tda7419: fix module autoloading
  2024-08-26  8:49 [PATCH -next 0/4] ASoC: fix module autoloading Liao Chen
  2024-08-26  8:49 ` [PATCH -next 1/4] ASoC: intel: " Liao Chen
  2024-08-26  8:49 ` [PATCH -next 2/4] ASoC: google: " Liao Chen
@ 2024-08-26  8:49 ` Liao Chen
  2024-08-26  8:49 ` [PATCH -next 4/4] ASoC: " Liao Chen
  2024-08-26 22:37 ` [PATCH -next 0/4] " Mark Brown
  4 siblings, 0 replies; 6+ messages in thread
From: Liao Chen @ 2024-08-26  8:49 UTC (permalink / raw)
  To: linux-sound, linux-kernel, alsa-devel
  Cc: lgirdwood, broonie, perex, tiwai, cezary.rojewski,
	pierre-louis.bossart, peter.ujfalusi, yung-chuan.liao,
	ranjani.sridharan, kai.vehmanen, liaochen4, u.kleine-koenig,
	andy.shevchenko, kuninori.morimoto.gx, robh

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
 sound/soc/codecs/tda7419.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/tda7419.c b/sound/soc/codecs/tda7419.c
index 386b99c8023b..7d6fcba9986e 100644
--- a/sound/soc/codecs/tda7419.c
+++ b/sound/soc/codecs/tda7419.c
@@ -623,6 +623,7 @@ static const struct of_device_id tda7419_of_match[] = {
 	{ .compatible = "st,tda7419" },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, tda7419_of_match);
 
 static struct i2c_driver tda7419_driver = {
 	.driver = {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH -next 4/4] ASoC: fix module autoloading
  2024-08-26  8:49 [PATCH -next 0/4] ASoC: fix module autoloading Liao Chen
                   ` (2 preceding siblings ...)
  2024-08-26  8:49 ` [PATCH -next 3/4] ASoC: tda7419: " Liao Chen
@ 2024-08-26  8:49 ` Liao Chen
  2024-08-26 22:37 ` [PATCH -next 0/4] " Mark Brown
  4 siblings, 0 replies; 6+ messages in thread
From: Liao Chen @ 2024-08-26  8:49 UTC (permalink / raw)
  To: linux-sound, linux-kernel, alsa-devel
  Cc: lgirdwood, broonie, perex, tiwai, cezary.rojewski,
	pierre-louis.bossart, peter.ujfalusi, yung-chuan.liao,
	ranjani.sridharan, kai.vehmanen, liaochen4, u.kleine-koenig,
	andy.shevchenko, kuninori.morimoto.gx, robh

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
 sound/soc/codecs/chv3-codec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/chv3-codec.c b/sound/soc/codecs/chv3-codec.c
index ab99effa6874..40020500b1fe 100644
--- a/sound/soc/codecs/chv3-codec.c
+++ b/sound/soc/codecs/chv3-codec.c
@@ -26,6 +26,7 @@ static const struct of_device_id chv3_codec_of_match[] = {
 	{ .compatible = "google,chv3-codec", },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, chv3_codec_of_match);
 
 static struct platform_driver chv3_codec_platform_driver = {
 	.driver = {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH -next 0/4] ASoC: fix module autoloading
  2024-08-26  8:49 [PATCH -next 0/4] ASoC: fix module autoloading Liao Chen
                   ` (3 preceding siblings ...)
  2024-08-26  8:49 ` [PATCH -next 4/4] ASoC: " Liao Chen
@ 2024-08-26 22:37 ` Mark Brown
  4 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2024-08-26 22:37 UTC (permalink / raw)
  To: linux-sound, linux-kernel, alsa-devel, Liao Chen
  Cc: lgirdwood, perex, tiwai, cezary.rojewski, pierre-louis.bossart,
	peter.ujfalusi, yung-chuan.liao, ranjani.sridharan, kai.vehmanen,
	u.kleine-koenig, andy.shevchenko, kuninori.morimoto.gx, robh

On Mon, 26 Aug 2024 08:49:20 +0000, Liao Chen wrote:
> This patchset aims to enable autoloading of some use modules.
> By registering MDT, the kernel is allowed to automatically bind
> modules to devices that match the specified compatible strings.
> 
> Liao Chen (4):
>   ASoC: intel: fix module autoloading
>   ASoC: google: fix module autoloading
>   ASoC: tda7419: fix module autoloading
>   ASoC: fix module autoloading
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/4] ASoC: intel: fix module autoloading
      commit: ae61a3391088d29aa8605c9f2db84295ab993a49
[2/4] ASoC: google: fix module autoloading
      commit: 8e1bb4a41aa78d6105e59186af3dcd545fc66e70
[3/4] ASoC: tda7419: fix module autoloading
      commit: 934b44589da9aa300201a00fe139c5c54f421563
[4/4] ASoC: fix module autoloading
      commit: 1165e70a4a5d8b4da77002ac22b4c5397f30e00d

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] 6+ messages in thread

end of thread, other threads:[~2024-08-26 22:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26  8:49 [PATCH -next 0/4] ASoC: fix module autoloading Liao Chen
2024-08-26  8:49 ` [PATCH -next 1/4] ASoC: intel: " Liao Chen
2024-08-26  8:49 ` [PATCH -next 2/4] ASoC: google: " Liao Chen
2024-08-26  8:49 ` [PATCH -next 3/4] ASoC: tda7419: " Liao Chen
2024-08-26  8:49 ` [PATCH -next 4/4] ASoC: " Liao Chen
2024-08-26 22:37 ` [PATCH -next 0/4] " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox