diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-02-23 14:16:32 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-24 04:08:41 (GMT) |
commit | 2595b7fe1aa3a1dfc47e549b39f7c35c5ce8a56d (patch) | |
tree | 02e9a39671aa8504844b8b3a67d6d58d341d5f12 /sound/soc/codecs/cs42l51.c | |
parent | d81221ff9406a3918084bfaed752894e82c5d44b (diff) | |
download | linux-2595b7fe1aa3a1dfc47e549b39f7c35c5ce8a56d.tar.xz |
ASoC: arizona: Make logging of FLL calculations clearer
The debug logging of FLL calculations was confusing. Values were
printed in hex without indicating this by a leading 0x, and
despite these normally being required in decimal. Also where the
register value isn't the actual value (it s a power-of-two or
0 means 1, 1 means 2, ...) it was unclear whether the actual or
register value was shown.
This patch changes the log print so that all mathematical values
are shown in decimal, all register values are shown in hex with a
0x prefix, and where the register value isn't the actual integer
value the decimal integer value is shown in () after the hex
register value.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l51.c')
0 files changed, 0 insertions, 0 deletions