ASoC: qcom: lpass: Fix i2s ctl register bit map
Subsystems (3)
PATCH v2 1/1 ASoC: qcom: lpass: Fix i2s ctl register bit map
Fix bitwidth mapping in i2s ctl register per APQ8016 document.
dmactl registers")
--- sound/soc/qcom/lpass-apq8016.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/qcom/lpass-apq8016.c +1 -1
@@ -250,7 +250,7 @@ static struct lpass_variant apq8016_data = { .micmode = REG_FIELD_ID(0x1000, 4, 7, 4, 0x1000), .micmono = REG_FIELD_ID(0x1000, 3, 3, 4, 0x1000), .wssrc = REG_FIELD_ID(0x1000, 2, 2, 4, 0x1000), - .bitwidth = REG_FIELD_ID(0x1000, 0, 0, 4, 0x1000), + .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000), .rdma_dyncclk = REG_FIELD_ID(0x8400, 12, 12, 2, 0x1000), .rdma_bursten = REG_FIELD_ID(0x8400, 11, 11, 2, 0x1000),
Signature · 1 line
2.25.1
Quoted 5 lines · Jun Nie
Fix bitwidth mapping in i2s ctl register per APQ8016 document.
Fixes b5022a36d28f ("ASoC: qcom: lpass: Use regmap_field for i2sctl anddmactl registers")
Signed-off-by Jun Nie <[email protected]>
Thanks for spotting this, I guess this did not cause me problems yet because I use SNDRV_PCM_FMTBIT_S16 everywhere.
Anyway, this looks correct according to the datasheet:
Quoted 20 lines
--- sound/soc/qcom/lpass-apq8016.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/qcom/lpass-apq8016.c +1
-1@@ -250,7 +250,7 @@ static struct lpass_variant apq8016_data = { .micmode = REG_FIELD_ID(0x1000, 4, 7, 4, 0x1000), .micmono = REG_FIELD_ID(0x1000, 3, 3, 4, 0x1000), .wssrc = REG_FIELD_ID(0x1000, 2, 2, 4, 0x1000), - .bitwidth = REG_FIELD_ID(0x1000, 0, 0, 4, 0x1000), + .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000), .rdma_dyncclk = REG_FIELD_ID(0x8400, 12, 12, 2, 0x1000), .rdma_bursten = REG_FIELD_ID(0x8400, 11, 11, 2, 0x1000),Signature · 1 line
2.25.1
Quoted 5 lines · Jun Nie
Fix bitwidth mapping in i2s ctl register per APQ8016 document.
Fixes b5022a36d28f ("ASoC: qcom: lpass: Use regmap_field for i2sctl anddmactl registers")
Signed-off-by Jun Nie <[email protected]>
Quoted 18 lines
--- sound/soc/qcom/lpass-apq8016.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/qcom/lpass-apq8016.c +1
-1@@ -250,7 +250,7 @@ static struct lpass_variant apq8016_data = { .micmode = REG_FIELD_ID(0x1000, 4, 7, 4, 0x1000), .micmono = REG_FIELD_ID(0x1000, 3, 3, 4, 0x1000), .wssrc = REG_FIELD_ID(0x1000, 2, 2, 4, 0x1000), - .bitwidth = REG_FIELD_ID(0x1000, 0, 0, 4, 0x1000), + .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000), .rdma_dyncclk = REG_FIELD_ID(0x8400, 12, 12, 2, 0x1000), .rdma_bursten = REG_FIELD_ID(0x8400, 11, 11, 2, 0x1000),
Hi Jun,
Quoted 5 lines · Jun Nie
Fix bitwidth mapping in i2s ctl register per APQ8016 document.
Fixes b5022a36d28f ("ASoC: qcom: lpass: Use regmap_field for i2sctl anddmactl registers")
Signed-off-by Jun Nie <[email protected]>
It looks like you forgot to Cc the ASoC maintainer(s) here, especially Mark Brown, which might be why this patch has not been applied yet.
Can you re-send this patch with all the maintainers in the Cc? You can add the Reviewed-by: from me and Srinivas to your patch so we don't need to send them again.
Thanks!
Stephan