Skip to content

Commit 6735363

Browse files
niejgregkh
authored andcommitted
ASoC: qcom: lpass: Fix i2s ctl register bit map
[ Upstream commit 5e3277a ] Fix bitwidth mapping in i2s ctl register per APQ8016 document. Fixes: b5022a3 ("ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers") Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Jun Nie <jun.nie@linaro.org> Link: https://lore.kernel.org/r/20210201132941.460360-1-jun.nie@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent d48f03f commit 6735363

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/qcom/lpass-apq8016.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static struct lpass_variant apq8016_data = {
250250
.micmode = REG_FIELD_ID(0x1000, 4, 7, 4, 0x1000),
251251
.micmono = REG_FIELD_ID(0x1000, 3, 3, 4, 0x1000),
252252
.wssrc = REG_FIELD_ID(0x1000, 2, 2, 4, 0x1000),
253-
.bitwidth = REG_FIELD_ID(0x1000, 0, 0, 4, 0x1000),
253+
.bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000),
254254

255255
.rdma_dyncclk = REG_FIELD_ID(0x8400, 12, 12, 2, 0x1000),
256256
.rdma_bursten = REG_FIELD_ID(0x8400, 11, 11, 2, 0x1000),

0 commit comments

Comments
 (0)