Skip to content

Commit

Permalink
ASoC: sgtl5000: Print revision number in hex
Browse files Browse the repository at this point in the history
Throughout the sgtl5000 driver source code and also in the sgtl5000 datasheet
the revision code is shown in hexadecimal.

Print it hex format, for consistency.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Fabio Estevam authored and Mark Brown committed Jan 20, 2012
1 parent 0132615 commit f2c6e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/sgtl5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ static int sgtl5000_enable_regulators(struct snd_soc_codec *codec)
}

rev = (reg & SGTL5000_REVID_MASK) >> SGTL5000_REVID_SHIFT;
dev_info(codec->dev, "sgtl5000 revision %d\n", rev);
dev_info(codec->dev, "sgtl5000 revision 0x%x\n", rev);

/*
* workaround for revision 0x11 and later,
Expand Down

0 comments on commit f2c6e75

Please sign in to comment.