Skip to content

Commit cf9d219

Browse files
V Sujith Kumar Reddybroonie
authored andcommitted
ASoC: qcom: lpass-sc7180: Fix MI2S bitwidth field bit positions
Update SC7180 lpass_variant structure with proper I2S bitwidth field bit positions, as bitwidth denotes 0 to 1 bits, but previously used only 0 bit. Signed-off-by: V Sujith Kumar Reddy <vsujithk@codeaurora.org> Signed-off-by: Srinivasa Rao Mandadapu <srivasam@codeaurora.org> Link: https://lore.kernel.org/r/1603798474-4897-1-git-send-email-srivasam@codeaurora.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent ce038ae commit cf9d219

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/qcom/lpass-sc7180.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static struct lpass_variant sc7180_data = {
188188
.micmode = REG_FIELD_ID(0x1000, 4, 8, 3, 0x1000),
189189
.micmono = REG_FIELD_ID(0x1000, 3, 3, 3, 0x1000),
190190
.wssrc = REG_FIELD_ID(0x1000, 2, 2, 3, 0x1000),
191-
.bitwidth = REG_FIELD_ID(0x1000, 0, 0, 3, 0x1000),
191+
.bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000),
192192

193193
.rdma_dyncclk = REG_FIELD_ID(0xC000, 21, 21, 5, 0x1000),
194194
.rdma_bursten = REG_FIELD_ID(0xC000, 20, 20, 5, 0x1000),

0 commit comments

Comments
 (0)