Skip to content

Commit

Permalink
ASoC: Remove trace for DAPM bias level logging
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Jun 6, 2011
1 parent 88d9608 commit 4113e44
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,24 +139,6 @@ static int snd_soc_dapm_set_bias_level(struct snd_soc_dapm_context *dapm,
struct snd_soc_card *card = dapm->card;
int ret = 0;

switch (level) {
case SND_SOC_BIAS_ON:
dev_dbg(dapm->dev, "Setting full bias\n");
break;
case SND_SOC_BIAS_PREPARE:
dev_dbg(dapm->dev, "Setting bias prepare\n");
break;
case SND_SOC_BIAS_STANDBY:
dev_dbg(dapm->dev, "Setting standby bias\n");
break;
case SND_SOC_BIAS_OFF:
dev_dbg(dapm->dev, "Setting bias off\n");
break;
default:
dev_err(dapm->dev, "Setting invalid bias %d\n", level);
return -EINVAL;
}

trace_snd_soc_bias_level_start(card, level);

if (card && card->set_bias_level)
Expand Down

0 comments on commit 4113e44

Please sign in to comment.