diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-07-13 12:43:46 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-14 12:21:29 -0400 |
commit | 2ca972da5ac8ac03dce005f4b71d9198a408b068 (patch) | |
tree | 265898dfb7300c961e9f61631bed55549a35b0a5 /sound/soc/intel/boards | |
parent | 156a071b9c7d0bd6917bbddd736e47de94265f03 (diff) |
ASoC: Intel: board: add kabylake nau88l25_max98357a machine id
Like SKL we have skl_nau88l25_max98357a machine for KBL,
so add the ID for this machine too.
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards')
-rw-r--r-- | sound/soc/intel/boards/skl_nau88l25_max98357a.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/skl_nau88l25_max98357a.c b/sound/soc/intel/boards/skl_nau88l25_max98357a.c index 80efe5e32291..25db5be7fdfa 100644 --- a/sound/soc/intel/boards/skl_nau88l25_max98357a.c +++ b/sound/soc/intel/boards/skl_nau88l25_max98357a.c | |||
@@ -656,12 +656,19 @@ static int skylake_audio_probe(struct platform_device *pdev) | |||
656 | return devm_snd_soc_register_card(&pdev->dev, &skylake_audio_card); | 656 | return devm_snd_soc_register_card(&pdev->dev, &skylake_audio_card); |
657 | } | 657 | } |
658 | 658 | ||
659 | static const struct platform_device_id skl_board_ids[] = { | ||
660 | { .name = "skl_n88l25_m98357a" }, | ||
661 | { .name = "kbl_n88l25_m98357a" }, | ||
662 | { } | ||
663 | }; | ||
664 | |||
659 | static struct platform_driver skylake_audio = { | 665 | static struct platform_driver skylake_audio = { |
660 | .probe = skylake_audio_probe, | 666 | .probe = skylake_audio_probe, |
661 | .driver = { | 667 | .driver = { |
662 | .name = "skl_n88l25_m98357a", | 668 | .name = "skl_n88l25_m98357a", |
663 | .pm = &snd_soc_pm_ops, | 669 | .pm = &snd_soc_pm_ops, |
664 | }, | 670 | }, |
671 | .id_table = skl_board_ids, | ||
665 | }; | 672 | }; |
666 | 673 | ||
667 | module_platform_driver(skylake_audio) | 674 | module_platform_driver(skylake_audio) |
@@ -671,3 +678,4 @@ MODULE_DESCRIPTION("Audio Machine driver-NAU88L25 & MAX98357A in I2S mode"); | |||
671 | MODULE_AUTHOR("Rohit Ainapure <rohit.m.ainapure@intel.com"); | 678 | MODULE_AUTHOR("Rohit Ainapure <rohit.m.ainapure@intel.com"); |
672 | MODULE_LICENSE("GPL v2"); | 679 | MODULE_LICENSE("GPL v2"); |
673 | MODULE_ALIAS("platform:skl_n88l25_m98357a"); | 680 | MODULE_ALIAS("platform:skl_n88l25_m98357a"); |
681 | MODULE_ALIAS("platform:kbl_n88l25_m98357a"); | ||