From: Bard Liao Date: Thu, 30 Apr 2015 10:18:47 +0000 (+0800) Subject: ASoC: rt5645: make volume TLV closer to reality X-Git-Tag: omap-for-v4.3/legacy-v2-signed~142^2~38^2~12^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=177e1e1fbc63f6e4ac0fab56dcb61bb8c8597681;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed