Commit 6d447be0 authored by Mark Brown's avatar Mark Brown

ASoC: Remove unused function check_vdac_to_outmix from rt5631

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent f79e5e8c
...@@ -343,20 +343,6 @@ static int check_dacr_to_spkmixr(struct snd_soc_dapm_widget *source, ...@@ -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); 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, static int check_adcl_select(struct snd_soc_dapm_widget *source,
struct snd_soc_dapm_widget *sink) struct snd_soc_dapm_widget *sink)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment