clear-pkgs-linux-iot-lts2018/0305-ASoC-Intel-Skylake-Add...

40 lines
1.3 KiB
Diff

From 629c8d175b8b61459a355e50c9a469a2eb348c0e Mon Sep 17 00:00:00 2001
From: Puneeth Prabhu <puneethx.prabhu@intel.com>
Date: Thu, 23 Nov 2017 20:52:05 +0530
Subject: [PATCH 305/550] ASoC: Intel: Skylake: Add kabylake R machine driver
entry
This patch adds acpi entry for kabylake R I2S machine driver,
which makes use of ALC298 codec.
Change-Id: Ie61f3c3e2759cd3a1b1380870307654e0d773ce7
Signed-off-by: Puneeth Prabhu <puneethx.prabhu@intel.com>
Reviewed-on:
Reviewed-by: Pawse, GuruprasadX <guruprasadx.pawse@intel.com>
Reviewed-by: Periyasamy, SriramX <sriramx.periyasamy@intel.com>
Reviewed-by: Kale, Sanyog R <sanyog.r.kale@intel.com>
Tested-by: Madiwalar, MadiwalappaX <madiwalappax.madiwalar@intel.com>
---
sound/soc/intel/skylake/skl.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 99f8cdf0cc07..5a442ee5af64 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -1242,7 +1242,11 @@ static struct snd_soc_acpi_mach sst_bxtp_devdata[] = {
static struct snd_soc_acpi_mach sst_kbl_devdata[] = {
{
.id = "INT343A",
+#if IS_ENABLED(CONFIG_SND_SOC_INTEL_KBLR_RT298_MACH)
+ .drv_name = "kblr_alc298s_i2s",
+#else
.drv_name = "kbl_alc286s_i2s",
+#endif
.fw_filename = "intel/dsp_fw_kbl.bin",
},
{
--
2.19.1