diff options
author | Bard Liao <bardliao@realtek.com> | 2015-04-30 18:18:47 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-01 17:33:49 +0100 |
commit | 177e1e1fbc63f6e4ac0fab56dcb61bb8c8597681 (patch) | |
tree | 35881139be6f87d9e6451d14e31f1589b4cf14d9 /net/rds/connection.c | |
parent | ASoC: rt5645: add TDM slot control into dapm route (diff) | |
download | linux-dev-177e1e1fbc63f6e4ac0fab56dcb61bb8c8597681.tar.xz linux-dev-177e1e1fbc63f6e4ac0fab56dcb61bb8c8597681.zip |
ASoC: rt5645: 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.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/rds/connection.c')
0 files changed, 0 insertions, 0 deletions