ASoC: mediatek: Register machine drivers to module device table
Subsystems (3)
cover ASoC: mediatek: Register machine drivers to module device table
Some ASoC machine drivers for MediaTek platforms were not being registered to the module device table, preventing them to be automatically loaded when built as modules. This series adds the missing registration to the drivers.
Nícolas F. R. A. Prado (9):
ASoC: mediatek: mt2701-cs42448: Register to module device table
ASoC: mediatek: mt2701-wm8960: Register to module device table
ASoC: mediatek: mt6797-mt6351: Register to module device table
ASoC: mediatek: mt8183-da7219: Register to module device table
ASoC: mediatek: mt8183-mt6358: Register to module device table
ASoC: mediatek: mt8186-da7219: Register to module device table
ASoC: mediatek: mt8186-rt5682: Register to module device table
ASoC: mediatek: mt8192-mt6359: Register to module device table
ASoC: mediatek: mt8195-mt6359: Register to module device table
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 1 + sound/soc/mediatek/mt2701/mt2701-wm8960.c | 1 + sound/soc/mediatek/mt6797/mt6797-mt6351.c | 1 + sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 1 + sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c | 1 + sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c | 1 + sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 1 + sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 1 + sound/soc/mediatek/mt8195/mt8195-mt6359.c | 1 + 9 files changed, 9 insertions(+)
Signature · 1 line
2.38.1
PATCH 1/9 ASoC: mediatek: mt2701-cs42448: Register to module device table
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.
---
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt2701/mt2701-cs42448.c +1 -0
@@ -418,6 +418,7 @@ static const struct of_device_id mt2701_cs42448_machine_dt_match[] = { {.compatible = "mediatek,mt2701-cs42448-machine",}, {} }; +MODULE_DEVICE_TABLE (of, mt2701_cs42448_machine_dt_match);#endif static struct platform_driver mt2701_cs42448_machine = {
Signature · 1 line
2.38.1
Re: [PATCH 1/9] ASoC: mediatek: mt2701-cs42448: Register to module device table
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>
PATCH 2/9 ASoC: mediatek: mt2701-wm8960: Register to module device table
In reply to Nícolas F. R. A. PradoRegister 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.
---
sound/soc/mediatek/mt2701/mt2701-wm8960.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt2701/mt2701-wm8960.c +1 -0
@@ -161,6 +161,7 @@ static const struct of_device_id mt2701_wm8960_machine_dt_match[] = { {.compatible = "mediatek,mt2701-wm8960-machine",}, {} }; +MODULE_DEVICE_TABLE (of, mt2701_wm8960_machine_dt_match);#endif static struct platform_driver mt2701_wm8960_machine = {
Signature · 1 line
2.38.1
Re: [PATCH 2/9] ASoC: mediatek: mt2701-wm8960: Register to module device table
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>
PATCH 3/9 ASoC: mediatek: mt6797-mt6351: Register to module device table
In reply to Nícolas F. R. A. PradoRegister 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.
---
sound/soc/mediatek/mt6797/mt6797-mt6351.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt6797/mt6797-mt6351.c +1 -0
@@ -242,6 +242,7 @@ static const struct of_device_id mt6797_mt6351_dt_match[] = { {.compatible = "mediatek,mt6797-mt6351-sound",}, {} }; +MODULE_DEVICE_TABLE (of, mt6797_mt6351_dt_match);#endif static struct platform_driver mt6797_mt6351_driver = {
Signature · 1 line
2.38.1
Re: [PATCH 3/9] ASoC: mediatek: mt6797-mt6351: Register to module device table
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>
PATCH 4/9 ASoC: mediatek: mt8183-da7219: Register to module device table
In reply to Nícolas F. R. A. PradoRegister 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.
---
sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c +1 -0
@@ -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 = {
Signature · 1 line
2.38.1
PATCH 5/9 ASoC: mediatek: mt8183-mt6358: Register to module device table
In reply to Nícolas F. R. A. PradoRegister 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.
---
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c +1 -0
@@ -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 = {
Signature · 1 line
2.38.1
Re: [PATCH 5/9] ASoC: mediatek: mt8183-mt6358: Register to module device table
Quoted 7 lines · Nícolas F. R. A. Prado
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.
Reviewed-by AngeloGioacchino Del Regno <[email protected]>Signed-off-by Nícolas F. R. A. Prado <[email protected]>
PATCH 6/9 ASoC: mediatek: mt8186-da7219: Register to module device table
In reply to Nícolas F. R. A. PradoRegister 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.
---
sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c +1 -0
@@ -1161,6 +1161,7 @@ static const struct of_device_id mt8186_mt6366_da7219_max98357_dt_match[] = { }, {} }; +MODULE_DEVICE_TABLE (of, mt8186_mt6366_da7219_max98357_dt_match);#endif static struct platform_driver mt8186_mt6366_da7219_max98357_driver = {
Signature · 1 line
2.38.1
Re: [PATCH 6/9] ASoC: mediatek: mt8186-da7219: Register to module device table
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>
PATCH 7/9 ASoC: mediatek: mt8186-rt5682: Register to module device table
In reply to Nícolas F. R. A. PradoRegister 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.
---
sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c +1 -0
@@ -1237,6 +1237,7 @@ static const struct of_device_id mt8186_mt6366_rt1019_rt5682s_dt_match[] = { }, {} }; +MODULE_DEVICE_TABLE (of, mt8186_mt6366_rt1019_rt5682s_dt_match);#endif static struct platform_driver mt8186_mt6366_rt1019_rt5682s_driver = {
Signature · 1 line
2.38.1
Re: [PATCH 7/9] ASoC: mediatek: mt8186-rt5682: Register to module device table
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>
PATCH 8/9 ASoC: mediatek: mt8192-mt6359: Register to module device table
In reply to Nícolas F. R. A. PradoRegister 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.
---
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c +1 -0
@@ -1261,6 +1261,7 @@ static const struct of_device_id mt8192_mt6359_dt_match[] = { }, {} }; +MODULE_DEVICE_TABLE (of, mt8192_mt6359_dt_match);#endif static const struct dev_pm_ops mt8192_mt6359_pm_ops = {
Signature · 1 line
2.38.1
Re: [PATCH 8/9] ASoC: mediatek: mt8192-mt6359: Register to module device table
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>
Chen-Yu Tsai
Tested-byRe: [PATCH 8/9] ASoC: mediatek: mt8192-mt6359: Register to module device table
Quoted 9 lines · AngeloGioacchino Del Regno
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>Reviewed-by AngeloGioacchino Del Regno <[email protected]>
PATCH 9/9 ASoC: mediatek: mt8195-mt6359: Register to module device table
In reply to Nícolas F. R. A. PradoRegister 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.
---
sound/soc/mediatek/mt8195/mt8195-mt6359.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/mediatek/mt8195/mt8195-mt6359.c +1 -0
@@ -1544,6 +1544,7 @@ static const struct of_device_id mt8195_mt6359_dt_match[] = { }, {}, }; +MODULE_DEVICE_TABLE (of, mt8195_mt6359_dt_match);static struct platform_driver mt8195_mt6359_driver = { .driver = {
Signature · 1 line
2.38.1
Re: [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: Register to module device table
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>
Chen-Yu Tsai
Tested-byRe: [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: Register to module device table
Quoted 9 lines · AngeloGioacchino Del Regno
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
Quoted 5 lines
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 <[email protected]>Reviewed-by AngeloGioacchino Del Regno <[email protected]>
The module was automatically loaded.
Quoted 8 lines · Nícolas F. R. A. Prado
Some ASoC machine drivers for MediaTek platforms were not being registered to the module device table, preventing them to be automatically loaded when built as modules. This series adds the missing registration to the drivers.
Quoted 10 lines
Nícolas F. R. A. Prado (9):
ASoC: mediatek: mt2701-cs42448: Register to module device table
ASoC: mediatek: mt2701-wm8960: Register to module device table
ASoC: mediatek: mt6797-mt6351: Register to module device table
ASoC: mediatek: mt8183-da7219: Register to module device table
ASoC: mediatek: mt8183-mt6358: Register to module device table
ASoC: mediatek: mt8186-da7219: Register to module device table
ASoC: mediatek: mt8186-rt5682: Register to module device table
ASoC: mediatek: mt8192-mt6359: Register to module device table
ASoC: mediatek: mt8195-mt6359: Register to module device table
Thanks! This was on my TODO list. Whole series is
Mark Brown
maintainerQuoted 17 lines · Nícolas F. R. A. Prado
Some ASoC machine drivers for MediaTek platforms were not being registered to the module device table, preventing them to be automatically loaded when built as modules. This series adds the missing registration to the drivers.
Nícolas F. R. A. Prado (9):
ASoC: mediatek: mt2701-cs42448: Register to module device table
ASoC: mediatek: mt2701-wm8960: Register to module device table
ASoC: mediatek: mt6797-mt6351: Register to module device table
ASoC: mediatek: mt8183-da7219: Register to module device table
ASoC: mediatek: mt8183-mt6358: Register to module device table
ASoC: mediatek: mt8186-da7219: Register to module device table
ASoC: mediatek: mt8186-rt5682: Register to module device table
ASoC: mediatek: mt8192-mt6359: Register to module device table
ASoC: mediatek: mt8195-mt6359: Register to module device table
Quoted 1 line
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/9] ASoC: mediatek: mt2701-cs42448: Register to module device table
commit: f0f217ba7dea78872f5001135984159f4def7047
[2/9] ASoC: mediatek: mt2701-wm8960: Register to module device table
commit: 59429a5ecc3337aaf6bbd878637250c1c878edc2
[3/9] ASoC: mediatek: mt6797-mt6351: Register to module device table
commit: 083e948082def40d5d801a3e281d637ee3c0f9bf
[4/9] ASoC: mediatek: mt8183-da7219: Register to module device table
commit: b5e004b0e5b57d14ac7804875878cdfdb31c9288
[5/9] ASoC: mediatek: mt8183-mt6358: Register to module device table
commit: bc63a806acdcfca201c68c820731d74185118789
[6/9] ASoC: mediatek: mt8186-da7219: Register to module device table
commit: 7d6d41e5fbf5e96788c88c9e82a3898ad4cf4f3c
[7/9] ASoC: mediatek: mt8186-rt5682: Register to module device table
commit: 5d7c2ac0eb3e830a5c8e30515805b3a345d9b919
[8/9] ASoC: mediatek: mt8192-mt6359: Register to module device table
commit: 2d32a3e52b0537638b31b3315ea1feafc5d0bb02
[9/9] ASoC: mediatek: mt8195-mt6359: Register to module device table
commit: 6bd8ddf05e9a19fb9efebe46bf58f45b9a6af26aAll 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