ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 19 Jan 2021 17:47:00 +0000 (17:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2021 22:28:46 +0000 (23:28 +0100)
commit2bfc7e605aafb8bed2bd1812f66385f3f0ee7941
tree19fcf712db7c633d2a7efb751921875d9dea35d9
parent02e5a1ee97a1eca93cd09f60ffd9a2ab398b484f
ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field

[ Upstream commit 1e066a23e76f90c9c39c189fe0dbf7c6e3dd5044 ]

BIT_WIDTH field in I2S_CTL register is two bits wide, however
recent regmap field conversion patch trimmed it down to one bit.
Fix this by correcting the bit range!

Fixes: b5022a36d28f ("ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210119174700.32639-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/qcom/lpass-ipq806x.c