From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Liam Girdwood <lrg@ti.com>
Cc: alsa-devel@Alsa-project.org, patches@opensource.wolfsonmicro.com,
Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: [PATCH 2/2] ASoC: Remove unused function check_vdac_to_outmix from rt5631
Date: Thu, 29 Sep 2011 17:32:47 +0100 [thread overview]
Message-ID: <1317313968-18966-2-git-send-email-broonie@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1317313968-18966-1-git-send-email-broonie@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
sound/soc/codecs/rt5631.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index 7e1f894..86e69f4 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,
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)
{
--
1.7.6.3
prev parent reply other threads:[~2011-09-29 16:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-29 16:32 [PATCH 1/2] ASoC: Staticise non-exported symbols in rt5631 Mark Brown
2011-09-29 16:32 ` Mark Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317313968-18966-2-git-send-email-broonie@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@Alsa-project.org \
--cc=lrg@ti.com \
--cc=patches@opensource.wolfsonmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).