diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-07-11 12:32:11 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-11 17:20:15 -0400 |
commit | 894a16db293c5383f1d9c819909a27bd6738efde (patch) | |
tree | 9b94d5c4ef34d9ba4cd05ccf2158d8ff7f12e81a /sound/soc/intel | |
parent | d06de6d9f113bfdb62ce7b9dfe33a0709122dec2 (diff) |
ASoC: Intel: board: add kabylake machine id
Kabylake platform is similar to Skylake. So, add machine id.
Since same machine driver supports both, add these in id table.
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
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_rt286.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/skl_rt286.c b/sound/soc/intel/boards/skl_rt286.c index 426b48233fdb..88c61e8cb87f 100644 --- a/sound/soc/intel/boards/skl_rt286.c +++ b/sound/soc/intel/boards/skl_rt286.c | |||
@@ -505,12 +505,20 @@ static int skylake_audio_probe(struct platform_device *pdev) | |||
505 | return devm_snd_soc_register_card(&pdev->dev, &skylake_rt286); | 505 | return devm_snd_soc_register_card(&pdev->dev, &skylake_rt286); |
506 | } | 506 | } |
507 | 507 | ||
508 | static const struct platform_device_id skl_board_ids[] = { | ||
509 | { .name = "skl_alc286s_i2s" }, | ||
510 | { .name = "kbl_alc286s_i2s" }, | ||
511 | { } | ||
512 | }; | ||
513 | |||
508 | static struct platform_driver skylake_audio = { | 514 | static struct platform_driver skylake_audio = { |
509 | .probe = skylake_audio_probe, | 515 | .probe = skylake_audio_probe, |
510 | .driver = { | 516 | .driver = { |
511 | .name = "skl_alc286s_i2s", | 517 | .name = "skl_alc286s_i2s", |
512 | .pm = &snd_soc_pm_ops, | 518 | .pm = &snd_soc_pm_ops, |
513 | }, | 519 | }, |
520 | .id_table = skl_board_ids, | ||
521 | |||
514 | }; | 522 | }; |
515 | 523 | ||
516 | module_platform_driver(skylake_audio) | 524 | module_platform_driver(skylake_audio) |
@@ -520,3 +528,4 @@ MODULE_AUTHOR("Omair Mohammed Abdullah <omair.m.abdullah@intel.com>"); | |||
520 | MODULE_DESCRIPTION("Intel SST Audio for Skylake"); | 528 | MODULE_DESCRIPTION("Intel SST Audio for Skylake"); |
521 | MODULE_LICENSE("GPL v2"); | 529 | MODULE_LICENSE("GPL v2"); |
522 | MODULE_ALIAS("platform:skl_alc286s_i2s"); | 530 | MODULE_ALIAS("platform:skl_alc286s_i2s"); |
531 | MODULE_ALIAS("platform:kbl_alc286s_i2s"); | ||