aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2010-05-17 07:21:45 -0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-05-17 15:34:10 -0400
commit7fd1d74bfc0ecf3dfa139b47daa7941841724886 (patch)
tree2580d39a9092132996ab27883bed575a4568c4b6 /sound/soc
parent752ec2f2d97da34abffa1abff81c96183a895b28 (diff)
ASoC: tlv320dac33: Use dev_dbg in dac33_hard_power function
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>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/tlv320dac33.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
index 007fe830be46..ad1795a83acb 100644
--- a/sound/soc/codecs/tlv320dac33.c
+++ b/sound/soc/codecs/tlv320dac33.c
@@ -352,7 +352,7 @@ static int dac33_hard_power(struct snd_soc_codec *codec, int power)
352 352
353 /* Safety check */ 353 /* Safety check */
354 if (unlikely(power == dac33->chip_power)) { 354 if (unlikely(power == dac33->chip_power)) {
355 dev_warn(codec->dev, "Trying to set the same power state: %s\n", 355 dev_dbg(codec->dev, "Trying to set the same power state: %s\n",
356 power ? "ON" : "OFF"); 356 power ? "ON" : "OFF");
357 goto exit; 357 goto exit;
358 } 358 }