diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-07-13 12:43:47 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-14 12:21:29 -0400 |
commit | 9dc201cf75e04fd2d753a1d01ed9d03f4253e32f (patch) | |
tree | 2a0db222115b53a5b9ff17402e7d53afc36e96ea /sound/soc/intel | |
parent | 2ca972da5ac8ac03dce005f4b71d9198a408b068 (diff) |
ASoC: Intel: board: add kabylake nau88l25_ssm4567 machine id
Like SKL we have skl_nau88l25_ssm4567 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')
-rw-r--r-- | sound/soc/intel/boards/skl_nau88l25_ssm4567.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/skl_nau88l25_ssm4567.c b/sound/soc/intel/boards/skl_nau88l25_ssm4567.c index 3e67d7b31e28..69c5d5da4e86 100644 --- a/sound/soc/intel/boards/skl_nau88l25_ssm4567.c +++ b/sound/soc/intel/boards/skl_nau88l25_ssm4567.c | |||
@@ -708,12 +708,19 @@ static int skylake_audio_probe(struct platform_device *pdev) | |||
708 | return devm_snd_soc_register_card(&pdev->dev, &skylake_audio_card); | 708 | return devm_snd_soc_register_card(&pdev->dev, &skylake_audio_card); |
709 | } | 709 | } |
710 | 710 | ||
711 | static const struct platform_device_id skl_board_ids[] = { | ||
712 | { .name = "skl_n88l25_s4567" }, | ||
713 | { .name = "kbl_n88l25_s4567" }, | ||
714 | { } | ||
715 | }; | ||
716 | |||
711 | static struct platform_driver skylake_audio = { | 717 | static struct platform_driver skylake_audio = { |
712 | .probe = skylake_audio_probe, | 718 | .probe = skylake_audio_probe, |
713 | .driver = { | 719 | .driver = { |
714 | .name = "skl_n88l25_s4567", | 720 | .name = "skl_n88l25_s4567", |
715 | .pm = &snd_soc_pm_ops, | 721 | .pm = &snd_soc_pm_ops, |
716 | }, | 722 | }, |
723 | .id_table = skl_board_ids, | ||
717 | }; | 724 | }; |
718 | 725 | ||
719 | module_platform_driver(skylake_audio) | 726 | module_platform_driver(skylake_audio) |
@@ -727,3 +734,4 @@ MODULE_AUTHOR("Yong Zhi <yong.zhi@intel.com>"); | |||
727 | MODULE_DESCRIPTION("Intel Audio Machine driver for SKL with NAU88L25 and SSM4567 in I2S Mode"); | 734 | MODULE_DESCRIPTION("Intel Audio Machine driver for SKL with NAU88L25 and SSM4567 in I2S Mode"); |
728 | MODULE_LICENSE("GPL v2"); | 735 | MODULE_LICENSE("GPL v2"); |
729 | MODULE_ALIAS("platform:skl_n88l25_s4567"); | 736 | MODULE_ALIAS("platform:skl_n88l25_s4567"); |
737 | MODULE_ALIAS("platform:kbl_n88l25_s4567"); | ||