ASoC: sgtl5000: Fix voltage units in dev_err message
Subsystems (3)
Fabio Estevam
maintainerPATCH 1/1 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 <[email protected]>
--- sound/soc/codecs/sgtl5000.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/sgtl5000.c +1 -1
@@ -1077,7 +1077,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 ;
Signature · 1 line
1.7.1
Mark Brown
AppliedQuoted 2 lines · Fabio Estevam
vdda, vddio and vddd are voltages expressed in milivolts (mV), so use the proper annotation.
Applied, thanks.