forked from luck/tmp_suning_uos_patched
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:
parent
5f5de18a7f
commit
cf1ee98d80
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user