Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fd1d74b authored by Felipe Balbi's avatar Felipe Balbi Committed by Liam Girdwood
Browse files

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: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 752ec2f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}