summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm9713.c
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2014-12-05 01:00:13 (GMT)
committerMark Brown <broonie@kernel.org>2014-12-05 11:06:56 (GMT)
commit40e3262e425a04743f2a579a379f2f189f084580 (patch)
tree1a3bc5688becd8853204e9f74c16b96b1e804e56 /sound/soc/codecs/wm9713.c
parent6fe17da00ba7046db2d3a952a930e127dcd7f06e (diff)
downloadlinux-40e3262e425a04743f2a579a379f2f189f084580.tar.xz
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/wm9713.c')
0 files changed, 0 insertions, 0 deletions