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: Guneshwor Singh <guneshwor.o.singh@intel.com>
|
|
|
|
Date: Thu, 7 Sep 2017 09:58:03 +0530
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] ASoC: Intel: board: Remove unused function cnl_dmic_fixup
|
2018-10-16 02:05:43 +08:00
|
|
|
|
|
|
|
cnl_dmic_fixup is never used, remove it to shun compiler warning.
|
|
|
|
|
|
|
|
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
|
|
|
|
---
|
|
|
|
sound/soc/intel/boards/cnl_cs42l42.c | 10 ----------
|
|
|
|
1 file changed, 10 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/sound/soc/intel/boards/cnl_cs42l42.c b/sound/soc/intel/boards/cnl_cs42l42.c
|
2020-10-27 02:14:06 +08:00
|
|
|
index 879aa4e552f3..bf5885b59a74 100644
|
2018-10-16 02:05:43 +08:00
|
|
|
--- a/sound/soc/intel/boards/cnl_cs42l42.c
|
|
|
|
+++ b/sound/soc/intel/boards/cnl_cs42l42.c
|
|
|
|
@@ -162,16 +162,6 @@ static int cnl_cs42l42_codec_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
-static int cnl_dmic_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
|
|
- struct snd_pcm_hw_params *params)
|
|
|
|
-{
|
|
|
|
- struct snd_interval *channels = hw_param_interval(params,
|
|
|
|
- SNDRV_PCM_HW_PARAM_CHANNELS);
|
|
|
|
- channels->min = channels->max = 2;
|
|
|
|
-
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
struct snd_soc_dai_link cnl_cs42l42_msic_dailink[] = {
|
|
|
|
{
|
|
|
|
.name = "Bxtn Audio Port",
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2018-10-16 02:05:43 +08:00
|
|
|
|