ASoC: Remove unused function check_vdac_to_outmix from rt5631
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Sep 2011 16:32:17 +0000 (17:32 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Sep 2011 10:19:47 +0000 (11:19 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/rt5631.c

index 7e1f894baf4dd1fde80a028e4a583bdffd9a8ec7..86e69f46199f8d2eec143a959907f7450ff9dbb8 100644 (file)
@@ -343,20 +343,6 @@ static int check_dacr_to_spkmixr(struct snd_soc_dapm_widget *source,
        return !(reg & RT5631_M_DAC_R_TO_SPKMIXER_R);
 }
 
-static int check_vdac_to_outmix(struct snd_soc_dapm_widget *source,
-                        struct snd_soc_dapm_widget *sink)
-{
-       unsigned int reg, ret = 1;
-
-       reg = snd_soc_read(source->codec, RT5631_OUTMIXER_L_CTRL);
-       if (reg & RT5631_M_VDAC_TO_OUTMIXER_L) {
-               reg = snd_soc_read(source->codec, RT5631_OUTMIXER_R_CTRL);
-               if (reg & RT5631_M_VDAC_TO_OUTMIXER_R)
-                       ret = 0;
-       }
-       return ret;
-}
-
 static int check_adcl_select(struct snd_soc_dapm_widget *source,
                         struct snd_soc_dapm_widget *sink)
 {