Asoc: qcom: lpass-sc7180: Fix MI2S bitwidth field bit positions
Subsystems (4)
PATCH 1/1 Asoc: qcom: lpass-sc7180: Fix MI2S bitwidth field bit positions
From: V Sujith Kumar Reddy <[email protected]>
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.
--- sound/soc/qcom/lpass-sc7180.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/qcom/lpass-sc7180.c +1 -1
@@ -188,7 +188,7 @@ static struct lpass_variant sc7180_data = { .micmode = REG_FIELD_ID(0x1000, 4, 8, 3, 0x1000), .micmono = REG_FIELD_ID(0x1000, 3, 3, 3, 0x1000), .wssrc = REG_FIELD_ID(0x1000, 2, 2, 3, 0x1000), - .bitwidth = REG_FIELD_ID(0x1000, 0, 0, 3, 0x1000), + .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000), .rdma_dyncclk = REG_FIELD_ID(0xC000, 21, 21, 5, 0x1000), .rdma_bursten = REG_FIELD_ID(0xC000, 20, 20, 5, 0x1000),
Signature · 2 lines
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.
Quoted 7 lines · Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy <[email protected]>
Update SC7180
lpass_variantstructure with proper I2S bitwidth field bit positions, as bitwidth denotes 0 to 1 bits, but previously used only 0 bit.Fixes commit cba62c8b49bead ("Merge series "ASoC: qcom: Add support for SC7180 lpass variant" from Rohit kumar <[email protected]>:")
this should be 12 chars long, for this particular fix it should be!
Quoted 1 line
No empty line after Fixes tag!
Quoted 12 lines
Signed-off-by V Sujith Kumar Reddy <[email protected]>Signed-off-by Srinivasa Rao Mandadapu <[email protected]>--- sound/soc/qcom/lpass-sc7180.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/qcom/lpass-sc7180.c +0
-0
sound/soc/qcom/lpass-sc7180.c static struct lpass_variant sc7180_data = { · line 194
Quoted 8 lines
sound/soc/qcom/lpass-sc7180.c +1
-1@@ -188,7 +188,7 @@ static struct lpass_variant sc7180_data = { .micmode = REG_FIELD_ID(0x1000, 4, 8, 3, 0x1000), .micmono = REG_FIELD_ID(0x1000, 3, 3, 3, 0x1000), .wssrc = REG_FIELD_ID(0x1000, 2, 2, 3, 0x1000), - .bitwidth = REG_FIELD_ID(0x1000, 0, 0, 3, 0x1000), + .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000), .rdma_dyncclk = REG_FIELD_ID(0xC000, 21, 21, 5, 0x1000), .rdma_bursten = REG_FIELD_ID(0xC000, 20, 20, 5, 0x1000),
--srini
Thanks for your time srinivas!!!
Quoted 39 lines · Srinivas Kandagatla
Quoted 7 lines · Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy <[email protected]>
Update SC7180
lpass_variantstructure with proper I2S bitwidth field bit positions, as bitwidth denotes 0 to 1 bits, but previously used only 0 bit.Fixes commit cba62c8b49bead ("Merge series "ASoC: qcom: Add support for SC7180 lpass variant" from Rohit kumar <[email protected]>:")this should be 12 chars long, for this particular fix it should be!
Fixes 24caf8d9eb108 ("ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio")Quoted 1 line
No empty line after Fixes tag!
Will coorect it in next patch.
Quoted 11 lines
Signed-off-by V Sujith Kumar Reddy <[email protected]>Signed-off-by Srinivasa Rao Mandadapu <[email protected]>---
sound/soc/qcom/lpass-sc7180.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/qcom/lpass-sc7180.c +0
-0sound/soc/qcom/lpass-sc7180.c static struct lpass_variant sc7180_data = { · line 194
Quoted 8 lines
sound/soc/qcom/lpass-sc7180.c +1
-1@@ -188,7 +188,7 @@ static struct lpass_variant sc7180_data = { .micmode = REG_FIELD_ID(0x1000, 4, 8, 3, 0x1000), .micmono = REG_FIELD_ID(0x1000, 3, 3, 3, 0x1000), .wssrc = REG_FIELD_ID(0x1000, 2, 2, 3, 0x1000), - .bitwidth = REG_FIELD_ID(0x1000, 0, 0, 3, 0x1000), + .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000), .rdma_dyncclk = REG_FIELD_ID(0xC000, 21, 21, 5, 0x1000), .rdma_bursten = REG_FIELD_ID(0xC000, 20, 20, 5, 0x1000),--srini
Signature · 2 lines
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.