diff options
author | Fabio Estevam <festevam@gmail.com> | 2011-12-28 06:55:15 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-28 12:20:20 -0500 |
commit | cf1ee98d800459e6f055742f84355b1aa9e937ae (patch) | |
tree | 4007bb1465d4bc14bc54ed59a1cfa50ce607e802 /sound/soc/codecs | |
parent | 5f5de18a7f81382fead581efc489dfcfa34601af (diff) |
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>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 250175755eb2..827a43bec531 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c | |||
@@ -1076,7 +1076,7 @@ static int sgtl5000_set_power_regs(struct snd_soc_codec *codec) | |||
1076 | /* according to datasheet, maximum voltage of supplies */ | 1076 | /* according to datasheet, maximum voltage of supplies */ |
1077 | if (vdda > 3600 || vddio > 3600 || vddd > 1980) { | 1077 | if (vdda > 3600 || vddio > 3600 || vddd > 1980) { |
1078 | dev_err(codec->dev, | 1078 | dev_err(codec->dev, |
1079 | "exceed max voltage vdda %dmv vddio %dma vddd %dma\n", | 1079 | "exceed max voltage vdda %dmV vddio %dmV vddd %dmV\n", |
1080 | vdda, vddio, vddd); | 1080 | vdda, vddio, vddd); |
1081 | 1081 | ||
1082 | return -EINVAL; | 1082 | return -EINVAL; |