ASoC: sgtl5000: Fix voltage units in dev_err message
authorFabio Estevam <festevam@gmail.com>
Wed, 28 Dec 2011 11:55:15 +0000 (09:55 -0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Dec 2011 17:20:20 +0000 (17:20 +0000)
vdda, vddio and vddd are voltages expressed in milivolts (mV), so use the
proper annotation.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c

index 250175755eb280ef2d7f63829bd4e6c90375d9d1..827a43bec531c58ac0159e7387969f2364ef6e13 100644 (file)
@@ -1076,7 +1076,7 @@ static int sgtl5000_set_power_regs(struct snd_soc_codec *codec)
        /* according to datasheet, maximum voltage of supplies */
        if (vdda > 3600 || vddio > 3600 || vddd > 1980) {
                dev_err(codec->dev,
-                       "exceed max voltage vdda %dmv vddio %dma vddd %dma\n",
+                       "exceed max voltage vdda %dmV vddio %dmV vddd %dmV\n",
                        vdda, vddio, vddd);
 
                return -EINVAL;