ASoC: Fix SOC_DOUBLE_R_SX_TLV volume mixer arguments
authorBrian Austin <brian.austin@cirrus.com>
Thu, 17 Jul 2014 18:16:55 +0000 (13:16 -0500)
committerMark Brown <broonie@linaro.org>
Thu, 17 Jul 2014 18:59:20 +0000 (19:59 +0100)
commita046558719770f94d8660f77654ce9cc712ffe54
tree4b522208a3db5a7bf1f47f41be250b24d21f3e00
parent95b47f8de787214f7db88b26759d7edc7c64d74a
ASoC: Fix SOC_DOUBLE_R_SX_TLV volume mixer arguments

Remove unnecessary bit shifts.
Correct min value to match datasheet.
Num steps = number of steps between min and max.

Reported-by: Ryan Harvey <ryan.harvey@cirrus.com>
Signed-off-by: Ryan Harvey <ryan.harvey@cirrus.com>
Signed-off-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/cs42l52.c
sound/soc/codecs/cs42l56.c
sound/soc/codecs/cs42l73.c