clear-pkgs-linux-iot-lts2018/0230-ASoC-Intel-SKL-Remove-...

49 lines
1.5 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Guneshwor Singh <guneshwor.o.singh@intel.com>
Date: Thu, 9 Jun 2016 17:35:39 +0530
Subject: [PATCH] ASoC: Intel: SKL: Remove SDW aggregation hardcode data
Change-Id: I6601af59781950f4fcf2a13e93be6e3014957c69
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
---
sound/soc/intel/skylake/skl-sdw-pcm.c | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/sound/soc/intel/skylake/skl-sdw-pcm.c b/sound/soc/intel/skylake/skl-sdw-pcm.c
index e41a3b38aa81..ea9a3e14434a 100644
--- a/sound/soc/intel/skylake/skl-sdw-pcm.c
+++ b/sound/soc/intel/skylake/skl-sdw-pcm.c
@@ -124,18 +124,6 @@ int cnl_sdw_startup(struct snd_pcm_substream *substream,
return ret;
}
-#ifdef CONFIG_SND_SOC_MXFPGA
-static void skl_set_agg(struct skl_module_cfg *m_cfg, int be_id) {
- m_cfg->sdw_agg_enable = true;
- m_cfg->sdw_agg.num_masters = 2;
- if (be_id > SDW_BE_DAI_ID_MSTR0)
- m_cfg->sdw_agg.agg_data[1].ch_mask = 0x2;
- else
- m_cfg->sdw_agg.agg_data[0].ch_mask = 0x1;
-
-}
-#endif
-
int cnl_sdw_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,
struct snd_soc_dai *dai)
@@ -180,10 +168,6 @@ int cnl_sdw_hw_params(struct snd_pcm_substream *substream,
dev_err(dai->dev, "BE Copier not found\n");
return -EINVAL;
}
-#ifdef CONFIG_SND_SOC_MXFPGA
- /* Ideally this will come from DFW */
- skl_set_agg(m_cfg, dai->id);
-#endif
if (!m_cfg->sdw_agg_enable)
m_cfg->sdw_stream_num = dma->port->pdi_stream->sdw_pdi_num;
--
https://clearlinux.org