summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorMohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>2025-09-08 11:06:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-25 10:58:52 +0200
commitf7e4e954adb2a7df67ebf9b4aa3007496fa5d305 (patch)
treefaf6b81e5be7172c8c4f6a007b5d3e5660ada0e1 /sound/soc
parent8f8a08c82b638babca70cebc7c626026c79cf064 (diff)
downloadlinux-f7e4e954adb2a7df67ebf9b4aa3007496fa5d305.tar.gz
linux-f7e4e954adb2a7df67ebf9b4aa3007496fa5d305.tar.bz2
linux-f7e4e954adb2a7df67ebf9b4aa3007496fa5d305.zip
ASoC: qcom: audioreach: Fix lpaif_type configuration for the I2S interface
commit 5f1af203ef964e7f7bf9d32716dfa5f332cc6f09 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/qcom/qdsp6/audioreach.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/qcom/qdsp6/audioreach.c b/sound/soc/qcom/qdsp6/audioreach.c
index 01dac32c50fd..918c9d3f4938 100644
--- a/sound/soc/qcom/qdsp6/audioreach.c
+++ b/sound/soc/qcom/qdsp6/audioreach.c
@@ -728,6 +728,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;