2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-10-16 02:05:43 +08:00
|
|
|
From: Shreyas NC <shreyas.nc@intel.com>
|
|
|
|
Date: Tue, 25 Oct 2016 13:04:39 +0530
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] ASoC: Intel: CNL: Change BE id to SDW MSTR1
|
2018-10-16 02:05:43 +08:00
|
|
|
|
|
|
|
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-05-05 09:02:46 +08:00
|
|
|
index 1cceaa518..4c8598137 100644
|
2018-10-16 02:05:43 +08:00
|
|
|
--- a/sound/soc/intel/skylake/skl-pcm.c
|
|
|
|
+++ b/sound/soc/intel/skylake/skl-pcm.c
|
2019-05-23 10:08:33 +08:00
|
|
|
@@ -1334,7 +1334,11 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
|
2018-10-16 02:05:43 +08:00
|
|
|
* 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",
|
2019-05-23 10:08:33 +08:00
|
|
|
@@ -1356,7 +1360,11 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
|
2018-10-16 02:05:43 +08:00
|
|
|
* 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",
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2018-10-16 02:05:43 +08:00
|
|
|
|