dect
/
linux-2.6
Archived
13
0
Fork 0

ASoC: sgtl5000: Fix voltage units in dev_err message

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>
This commit is contained in:
Fabio Estevam 2011-12-28 09:55:15 -02:00 committed by Mark Brown
parent 5f5de18a7f
commit cf1ee98d80
1 changed files with 1 additions and 1 deletions

View 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;