]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: qcom: audioreach: Fix lpaif_type configuration for the I2S interface
authorMohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Mon, 8 Sep 2025 05:36:29 +0000 (11:06 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 9 Sep 2025 13:27:20 +0000 (14:27 +0100)
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@vger.kernel.org
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Message-ID: <20250908053631.70978-2-mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/audioreach.c

index 4ebaaf736fb98a5a8a58d06416b3ace2504856e1..3f5eed5afce55e151fc5462d253f673dd0d50e85 100644 (file)
@@ -971,6 +971,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;