alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: alsa-devel@alsa-project.org
Cc: liam.r.girdwood@linux.intel.com, patches.audio@intel.com,
	broonie@kernel.org, Vinod Koul <vinod.koul@intel.com>
Subject: [PATCH 4/5] ASoC: Intel: board: add kabylake nau88l25_max98357a machine id
Date: Wed, 13 Jul 2016 22:13:46 +0530	[thread overview]
Message-ID: <1468428227-8239-5-git-send-email-vinod.koul@intel.com> (raw)
In-Reply-To: <1468428227-8239-1-git-send-email-vinod.koul@intel.com>

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>
---
 sound/soc/intel/boards/skl_nau88l25_max98357a.c | 8 ++++++++
 1 file changed, 8 insertions(+)

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)
 	return devm_snd_soc_register_card(&pdev->dev, &skylake_audio_card);
 }
 
+static const struct platform_device_id skl_board_ids[] = {
+	{ .name = "skl_n88l25_m98357a" },
+	{ .name = "kbl_n88l25_m98357a" },
+	{ }
+};
+
 static struct platform_driver skylake_audio = {
 	.probe = skylake_audio_probe,
 	.driver = {
 		.name = "skl_n88l25_m98357a",
 		.pm = &snd_soc_pm_ops,
 	},
+	.id_table = skl_board_ids,
 };
 
 module_platform_driver(skylake_audio)
@@ -671,3 +678,4 @@ MODULE_DESCRIPTION("Audio Machine driver-NAU88L25 & MAX98357A in I2S mode");
 MODULE_AUTHOR("Rohit Ainapure <rohit.m.ainapure@intel.com");
 MODULE_LICENSE("GPL v2");
 MODULE_ALIAS("platform:skl_n88l25_m98357a");
+MODULE_ALIAS("platform:kbl_n88l25_m98357a");
-- 
1.9.1

  parent reply	other threads:[~2016-07-13 16:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 16:43 [PATCH 0/5] ASoC: Intel: More Kabylake machine support Vinod Koul
2016-07-13 16:43 ` [PATCH 1/5] ASoC: Intel: Skylake: reduce machine name for skl_nau88l25_ssm4567 Vinod Koul
2016-07-14 16:32   ` Applied "ASoC: Intel: Skylake: reduce machine name for skl_nau88l25_ssm4567" to the asoc tree Mark Brown
2016-07-13 16:43 ` [PATCH 2/5] ASoC: Intel: Skylake: reduce machine name for skl_nau88l25_max98357a Vinod Koul
2016-07-14 16:32   ` Applied "ASoC: Intel: Skylake: reduce machine name for skl_nau88l25_max98357a" to the asoc tree Mark Brown
2016-07-13 16:43 ` [PATCH 3/5] ASoC: Intel: Kbl: add kabylake additional machine entries Vinod Koul
2016-07-14 16:32   ` Applied "ASoC: Intel: Kbl: add kabylake additional machine entries" to the asoc tree Mark Brown
2016-07-13 16:43 ` Vinod Koul [this message]
2016-07-14 16:32   ` Applied "ASoC: Intel: board: add kabylake nau88l25_max98357a machine id" " Mark Brown
2016-07-13 16:43 ` [PATCH 5/5] ASoC: Intel: board: add kabylake nau88l25_ssm4567 machine id Vinod Koul
2016-07-14 16:32   ` Applied "ASoC: Intel: board: add kabylake nau88l25_ssm4567 machine id" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1468428227-8239-5-git-send-email-vinod.koul@intel.com \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=patches.audio@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).