mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: mediatek: mt8183-da7219: Register to module device table
@ 2022-11-04 21:24 Nícolas F. R. A. Prado
  2022-11-04 21:24 ` [PATCH 2/2] ASoC: mediatek: mt8183-mt6358: " Nícolas F. R. A. Prado
  2022-11-07  9:06 ` [PATCH 1/2] ASoC: mediatek: mt8183-da7219: " AngeloGioacchino Del Regno
  0 siblings, 2 replies; 5+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-04 21:24 UTC (permalink / raw)
  To: Mark Brown
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
	Matthias Brugger, Miaoqian Lin, Takashi Iwai, Tzung-Bi Shih,
	alsa-devel, linux-arm-kernel, linux-kernel, linux-mediatek

Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

---

 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
index 9f22d3939818..0e572fe28c58 100644
--- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
+++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
@@ -842,6 +842,7 @@ static const struct of_device_id mt8183_da7219_max98357_dt_match[] = {
 	},
 	{}
 };
+MODULE_DEVICE_TABLE(of, mt8183_da7219_max98357_dt_match);
 #endif
 
 static struct platform_driver mt8183_da7219_max98357_driver = {
-- 
2.38.1


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

* [PATCH 2/2] ASoC: mediatek: mt8183-mt6358: Register to module device table
  2022-11-04 21:24 [PATCH 1/2] ASoC: mediatek: mt8183-da7219: Register to module device table Nícolas F. R. A. Prado
@ 2022-11-04 21:24 ` Nícolas F. R. A. Prado
  2022-11-07  9:07   ` AngeloGioacchino Del Regno
  2022-11-07  9:06 ` [PATCH 1/2] ASoC: mediatek: mt8183-da7219: " AngeloGioacchino Del Regno
  1 sibling, 1 reply; 5+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-04 21:24 UTC (permalink / raw)
  To: Mark Brown
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
	Matthias Brugger, Takashi Iwai, Tzung-Bi Shih, alsa-devel,
	linux-arm-kernel, linux-kernel, linux-mediatek

Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---

 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
index a86085223677..8fb473543cf9 100644
--- a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
+++ b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
@@ -835,6 +835,7 @@ static const struct of_device_id mt8183_mt6358_ts3a227_max98357_dt_match[] = {
 	},
 	{}
 };
+MODULE_DEVICE_TABLE(of, mt8183_mt6358_ts3a227_max98357_dt_match);
 #endif
 
 static struct platform_driver mt8183_mt6358_ts3a227_max98357_driver = {
-- 
2.38.1


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

* Re: [PATCH 1/2] ASoC: mediatek: mt8183-da7219: Register to module device table
  2022-11-04 21:24 [PATCH 1/2] ASoC: mediatek: mt8183-da7219: Register to module device table Nícolas F. R. A. Prado
  2022-11-04 21:24 ` [PATCH 2/2] ASoC: mediatek: mt8183-mt6358: " Nícolas F. R. A. Prado
@ 2022-11-07  9:06 ` AngeloGioacchino Del Regno
  2022-11-07 14:19   ` Nícolas F. R. A. Prado
  1 sibling, 1 reply; 5+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-07  9:06 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Mark Brown
  Cc: kernel, Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
	Matthias Brugger, Miaoqian Lin, Takashi Iwai, Tzung-Bi Shih,
	alsa-devel, linux-arm-kernel, linux-kernel, linux-mediatek

Il 04/11/22 22:24, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> 

Hello Nícolas,
I agree but.... can you please do the same for 8192, 8195, 8186?

Getting them all in one series would make absolute sense... :-)

in the meanwhile, for this one:

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

> ---
> 
>   sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
> index 9f22d3939818..0e572fe28c58 100644
> --- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
> +++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
> @@ -842,6 +842,7 @@ static const struct of_device_id mt8183_da7219_max98357_dt_match[] = {
>   	},
>   	{}
>   };
> +MODULE_DEVICE_TABLE(of, mt8183_da7219_max98357_dt_match);
>   #endif
>   
>   static struct platform_driver mt8183_da7219_max98357_driver = {



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

* Re: [PATCH 2/2] ASoC: mediatek: mt8183-mt6358: Register to module device table
  2022-11-04 21:24 ` [PATCH 2/2] ASoC: mediatek: mt8183-mt6358: " Nícolas F. R. A. Prado
@ 2022-11-07  9:07   ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 5+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-07  9:07 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Mark Brown
  Cc: kernel, Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
	Matthias Brugger, Takashi Iwai, Tzung-Bi Shih, alsa-devel,
	linux-arm-kernel, linux-kernel, linux-mediatek

Il 04/11/22 22:24, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>



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

* Re: [PATCH 1/2] ASoC: mediatek: mt8183-da7219: Register to module device table
  2022-11-07  9:06 ` [PATCH 1/2] ASoC: mediatek: mt8183-da7219: " AngeloGioacchino Del Regno
@ 2022-11-07 14:19   ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 5+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 14:19 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: Mark Brown, kernel, Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu,
	Liam Girdwood, Matthias Brugger, Miaoqian Lin, Takashi Iwai,
	Tzung-Bi Shih, alsa-devel, linux-arm-kernel, linux-kernel,
	linux-mediatek

On Mon, Nov 07, 2022 at 10:06:51AM +0100, AngeloGioacchino Del Regno wrote:
> Il 04/11/22 22:24, Nícolas F. R. A. Prado ha scritto:
> > Register the compatibles for this module on the module device table so
> > it can be automatically loaded when a matching device is found on the
> > system.
> > 
> > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> > 
> 
> Hello Nícolas,
> I agree but.... can you please do the same for 8192, 8195, 8186?
> 
> Getting them all in one series would make absolute sense... :-)

Yes, I was planning to do that in a following series, to avoid extra churn on
all SoCs in case some change was needed. But perhaps I was being too careful, I
can add them here for v2.

Thanks,
Nícolas

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

end of thread, other threads:[~2022-11-07 14:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04 21:24 [PATCH 1/2] ASoC: mediatek: mt8183-da7219: Register to module device table Nícolas F. R. A. Prado
2022-11-04 21:24 ` [PATCH 2/2] ASoC: mediatek: mt8183-mt6358: " Nícolas F. R. A. Prado
2022-11-07  9:07   ` AngeloGioacchino Del Regno
2022-11-07  9:06 ` [PATCH 1/2] ASoC: mediatek: mt8183-da7219: " AngeloGioacchino Del Regno
2022-11-07 14:19   ` Nícolas F. R. A. Prado

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®