From: Dylan Reid Date: Fri, 5 Dec 2014 01:00:13 +0000 (-0800) Subject: ASoC: rt5677: make volume TLV closer to reality X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~20^2~12^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e3262e425a04743f2a579a379f2f189f084580;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed