ASoC: tlv320dac33: Use dev_dbg in dac33_hard_power function
authorFelipe Balbi <felipe.balbi@nokia.com>
Mon, 17 May 2010 11:21:45 +0000 (14:21 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 17 May 2010 19:34:10 +0000 (20:34 +0100)
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>
sound/soc/codecs/tlv320dac33.c

index 007fe830be46f5a5d46a82308d259c84932eefd2..ad1795a83acbe4cb9d2496fcc42fc1aa2c1e8571 100644 (file)
@@ -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;
        }