aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5631.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-29 12:32:17 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-30 06:19:47 -0400
commit6d447be0141991d80433e098d6267f7498ba6071 (patch)
tree24b130937989cf67e4bb6c8059b320586f5350a0 /sound/soc/codecs/rt5631.c
parentf79e5e8ce221c0c2e0754eb7076ba7611f209001 (diff)
ASoC: Remove unused function check_vdac_to_outmix from rt5631
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/rt5631.c')
-rw-r--r--sound/soc/codecs/rt5631.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index 7e1f894baf4d..86e69f46199f 100644
--- a/sound/soc/codecs/rt5631.c
+++ b/sound/soc/codecs/rt5631.c
@@ -343,20 +343,6 @@ static int check_dacr_to_spkmixr(struct snd_soc_dapm_widget *source,
343 return !(reg & RT5631_M_DAC_R_TO_SPKMIXER_R); 343 return !(reg & RT5631_M_DAC_R_TO_SPKMIXER_R);
344} 344}
345 345
346static int check_vdac_to_outmix(struct snd_soc_dapm_widget *source,
347 struct snd_soc_dapm_widget *sink)
348{
349 unsigned int reg, ret = 1;
350
351 reg = snd_soc_read(source->codec, RT5631_OUTMIXER_L_CTRL);
352 if (reg & RT5631_M_VDAC_TO_OUTMIXER_L) {
353 reg = snd_soc_read(source->codec, RT5631_OUTMIXER_R_CTRL);
354 if (reg & RT5631_M_VDAC_TO_OUTMIXER_R)
355 ret = 0;
356 }
357 return ret;
358}
359
360static int check_adcl_select(struct snd_soc_dapm_widget *source, 346static int check_adcl_select(struct snd_soc_dapm_widget *source,
361 struct snd_soc_dapm_widget *sink) 347 struct snd_soc_dapm_widget *sink)
362{ 348{