diff options
author | Yuntao Liu <liuyuntao12@huawei.com> | 2024-08-15 10:49:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-15 16:37:15 +0200 |
commit | 164199615ae230ace4519141285f06766d6d8036 (patch) | |
tree | fa394a254c578d29653d625d03c511141b4f6f97 /sound | |
parent | ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile (diff) | |
download | linux-164199615ae230ace4519141285f06766d6d8036.tar.xz linux-164199615ae230ace4519141285f06766d6d8036.zip |
ASoC: amd: acp: fix module autoloading
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from platform_device_id table.
Fixes: 9d8a7be88b336 ("ASoC: amd: acp: Add legacy sound card support for Chrome audio")
Signed-off-by: Yuntao Liu <liuyuntao12@huawei.com>
Link: https://patch.msgid.link/20240815084923.756476-1-liuyuntao12@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/amd/acp/acp-legacy-mach.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/amd/acp/acp-legacy-mach.c b/sound/soc/amd/acp/acp-legacy-mach.c index 47c3b5f167f5..0d529e32e552 100644 --- a/sound/soc/amd/acp/acp-legacy-mach.c +++ b/sound/soc/amd/acp/acp-legacy-mach.c @@ -227,6 +227,8 @@ static const struct platform_device_id board_ids[] = { }, { } }; +MODULE_DEVICE_TABLE(platform, board_ids); + static struct platform_driver acp_asoc_audio = { .driver = { .pm = &snd_soc_pm_ops, |