ASoC: codecs: wcd934x: Set digital gain range correctly
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 28 Oct 2020 15:43:39 +0000 (15:43 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 28 Oct 2020 15:57:09 +0000 (15:57 +0000)
commitfc0522bbe02fa4beb95c0514ace66b585616f111
tree8a231878e4a5b154d1fa741a5ed36629740e7216
parent6e5329c6e6032cd997400b43b8299f607a61883e
ASoC: codecs: wcd934x: Set digital gain range correctly

digital gain range is -84dB min to 40dB max, however this was not
correctly specified in the range.

Fix this by with correct range!

Fixes: 1cde8b822332 ("ASoC: wcd934x: add basic controls")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20201028154340.17090-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd934x.c