diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-06 11:15:53 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-06 16:46:00 -0400 |
commit | 4113e443161f4fd3b33e8015a1edc190e2296790 (patch) | |
tree | 48daf7a48a4fb4e73477918edab6fd71114b41a2 /sound/soc/soc-dapm.c | |
parent | 88d960864e371d0caf1db69e6d1d740ad7a247ba (diff) |
ASoC: Remove trace for DAPM bias level logging
It's redundant now thanks to the use of the generic trace infrastructure.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 988cdffa8c4c..4452b571c1b8 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -139,24 +139,6 @@ static int snd_soc_dapm_set_bias_level(struct snd_soc_dapm_context *dapm, | |||
139 | struct snd_soc_card *card = dapm->card; | 139 | struct snd_soc_card *card = dapm->card; |
140 | int ret = 0; | 140 | int ret = 0; |
141 | 141 | ||
142 | switch (level) { | ||
143 | case SND_SOC_BIAS_ON: | ||
144 | dev_dbg(dapm->dev, "Setting full bias\n"); | ||
145 | break; | ||
146 | case SND_SOC_BIAS_PREPARE: | ||
147 | dev_dbg(dapm->dev, "Setting bias prepare\n"); | ||
148 | break; | ||
149 | case SND_SOC_BIAS_STANDBY: | ||
150 | dev_dbg(dapm->dev, "Setting standby bias\n"); | ||
151 | break; | ||
152 | case SND_SOC_BIAS_OFF: | ||
153 | dev_dbg(dapm->dev, "Setting bias off\n"); | ||
154 | break; | ||
155 | default: | ||
156 | dev_err(dapm->dev, "Setting invalid bias %d\n", level); | ||
157 | return -EINVAL; | ||
158 | } | ||
159 | |||
160 | trace_snd_soc_bias_level_start(card, level); | 142 | trace_snd_soc_bias_level_start(card, level); |
161 | 143 | ||
162 | if (card && card->set_bias_level) | 144 | if (card && card->set_bias_level) |