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

39 lines
1.3 KiB
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 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] 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
2020-10-27 02:14:06 +08:00
index 94f5ced99439..a5082c8fd48b 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",
},
{
--
https://clearlinux.org