Skip to content

Commit

Permalink
ASoC: tlv320dac33: Use dev_dbg in dac33_hard_power function
Browse files Browse the repository at this point in the history
Since the cases when the same power state would be set again
handled gracefully, we do not need to use dev_warn.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Felipe Balbi authored and Liam Girdwood committed May 17, 2010
1 parent 752ec2f commit 7fd1d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/tlv320dac33.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ static int dac33_hard_power(struct snd_soc_codec *codec, int power)

/* Safety check */
if (unlikely(power == dac33->chip_power)) {
dev_warn(codec->dev, "Trying to set the same power state: %s\n",
dev_dbg(codec->dev, "Trying to set the same power state: %s\n",
power ? "ON" : "OFF");
goto exit;
}
Expand Down

0 comments on commit 7fd1d74

Please sign in to comment.