diff options
author | Dylan Reid <dgreid@chromium.org> | 2014-12-05 02:00:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-05 12:06:56 +0100 |
commit | 40e3262e425a04743f2a579a379f2f189f084580 (patch) | |
tree | 1a3bc5688becd8853204e9f74c16b96b1e804e56 /sound/soc/codecs/adau1761.c | |
parent | ASoC: rt5677: Fix the issue that the regmap_range "rt5677_ranges" cannot be a... (diff) | |
download | linux-40e3262e425a04743f2a579a379f2f189f084580.tar.xz linux-40e3262e425a04743f2a579a379f2f189f084580.zip |
ASoC: rt5677: make volume TLV closer to reality
The volume blocks have an step of 0.375dB, but TLV uses 0.01dB for
units. Only use the resolution supported, ignoring the LSB of the
volume register. This results in half the steps and 0.75dB per step,
but reports accurate levels through TLV. Update the masks to reflect
that these are registers have the LSB ignored.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/adau1761.c')
0 files changed, 0 insertions, 0 deletions