Fix missing lpaif_type configuration for the I2S interface.
The proper lpaif interface type required to allow DSP to vote
appropriate clock setting for I2S interface.
Fixes: 25ab80db6b133 ("ASoC: qdsp6: audioreach: add module configuration command helpers")
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
---
sound/soc/qcom/qdsp6/audioreach.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/qcom/qdsp6/audioreach.c b/sound/soc/qcom/qdsp6/audioreach.c
index bbfd51db8797..be21d5f6af8a 100644
--- a/sound/soc/qcom/qdsp6/audioreach.c
+++ b/sound/soc/qcom/qdsp6/audioreach.c
@@ -995,6 +995,7 @@ static int audioreach_i2s_set_media_format(struct q6apm_graph *graph,
param_data->param_id = PARAM_ID_I2S_INTF_CFG;
param_data->param_size = ic_sz - APM_MODULE_PARAM_DATA_SIZE;
+ intf_cfg->cfg.lpaif_type = module->hw_interface_type;
intf_cfg->cfg.intf_idx = module->hw_interface_idx;
intf_cfg->cfg.sd_line_idx = module->sd_line_idx;
--
2.34.1
On 9/5/25 11:40 AM, Mohammad Rafi Shaik wrote: > Fix missing lpaif_type configuration for the I2S interface. > The proper lpaif interface type required to allow DSP to vote > appropriate clock setting for I2S interface. > > Fixes: 25ab80db6b133 ("ASoC: qdsp6: audioreach: add module configuration command helpers") CC stable tag is missing. --srini > Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> > Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com> > --- > sound/soc/qcom/qdsp6/audioreach.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sound/soc/qcom/qdsp6/audioreach.c b/sound/soc/qcom/qdsp6/audioreach.c > index bbfd51db8797..be21d5f6af8a 100644 > --- a/sound/soc/qcom/qdsp6/audioreach.c > +++ b/sound/soc/qcom/qdsp6/audioreach.c > @@ -995,6 +995,7 @@ static int audioreach_i2s_set_media_format(struct q6apm_graph *graph, > param_data->param_id = PARAM_ID_I2S_INTF_CFG; > param_data->param_size = ic_sz - APM_MODULE_PARAM_DATA_SIZE; > > + intf_cfg->cfg.lpaif_type = module->hw_interface_type; > intf_cfg->cfg.intf_idx = module->hw_interface_idx; > intf_cfg->cfg.sd_line_idx = module->sd_line_idx; >
On 9/5/2025 4:16 PM, Srinivas Kandagatla wrote: > On 9/5/25 11:40 AM, Mohammad Rafi Shaik wrote: >> Fix missing lpaif_type configuration for the I2S interface. >> The proper lpaif interface type required to allow DSP to vote >> appropriate clock setting for I2S interface. >> >> Fixes: 25ab80db6b133 ("ASoC: qdsp6: audioreach: add module configuration command helpers") > > CC stable tag is missing. > Ack, Will add the stable tag in next post. Thanks & Regards, Rafi. > --srini >> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> >> Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com> >> --- >> sound/soc/qcom/qdsp6/audioreach.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/sound/soc/qcom/qdsp6/audioreach.c b/sound/soc/qcom/qdsp6/audioreach.c >> index bbfd51db8797..be21d5f6af8a 100644 >> --- a/sound/soc/qcom/qdsp6/audioreach.c >> +++ b/sound/soc/qcom/qdsp6/audioreach.c >> @@ -995,6 +995,7 @@ static int audioreach_i2s_set_media_format(struct q6apm_graph *graph, >> param_data->param_id = PARAM_ID_I2S_INTF_CFG; >> param_data->param_size = ic_sz - APM_MODULE_PARAM_DATA_SIZE; >> >> + intf_cfg->cfg.lpaif_type = module->hw_interface_type; >> intf_cfg->cfg.intf_idx = module->hw_interface_idx; >> intf_cfg->cfg.sd_line_idx = module->sd_line_idx; >> >
© 2016 - 2025 Red Hat, Inc.