clear-pkgs-linux-iot-lts2018/0261-ASoC-Intel-CNL-Change-...

43 lines
1.3 KiB
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Shreyas NC <shreyas.nc@intel.com>
Date: Tue, 25 Oct 2016 13:04:39 +0530
Subject: [PATCH] ASoC: Intel: CNL: Change BE id to SDW MSTR1
Change-Id: I88e650630da9f65b222838190d14899ac28627dc
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
---
sound/soc/intel/skylake/skl-pcm.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c
2020-10-27 02:14:06 +08:00
index 1cceaa5187a9..4c85981378c2 100644
--- a/sound/soc/intel/skylake/skl-pcm.c
+++ b/sound/soc/intel/skylake/skl-pcm.c
@@ -1334,7 +1334,11 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
* should be coming from CLT based on endpoints to be supported
*/
.name = "SDW Pin",
+#if IS_ENABLED(CONFIG_SND_SOC_INTEL_CNL_FPGA)
.id = SDW_BE_DAI_ID_MSTR0,
+#else
+ .id = SDW_BE_DAI_ID_MSTR1,
+#endif
.ops = &skl_sdw_dai_ops,
.playback = {
.stream_name = "SDW Tx",
@@ -1356,7 +1360,11 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
* should be coming from CLT based on endpoints to be supported
*/
.name = "SDW10 Pin",
+#if IS_ENABLED(CONFIG_SND_SOC_INTEL_CNL_FPGA)
.id = SDW_BE_DAI_ID_MSTR0,
+#else
+ .id = SDW_BE_DAI_ID_MSTR1,
+#endif
.ops = &skl_sdw_dai_ops,
.playback = {
.stream_name = "SDW Tx10",
--
https://clearlinux.org