]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: qcom: q6apm-lpass-dais: Fix missing set_fmt DAI op for I2S
authorMohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Mon, 8 Sep 2025 05:36:30 +0000 (11:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Sep 2025 08:58:53 +0000 (10:58 +0200)
commit 33b55b94bca904ca25a9585e3cd43d15f0467969 upstream.

The q6i2s_set_fmt() function was defined but never linked into the
I2S DAI operations, resulting DAI format settings is being ignored
during stream setup. This change fixes the issue by properly linking
the .set_fmt handler within the DAI ops.

Fixes: 30ad723b93ade ("ASoC: qdsp6: audioreach: add q6apm lpass dai support")
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-3-mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/qcom/qdsp6/q6apm-lpass-dais.c

index 23d23bc6fbaa77888e2b74f4f8e67cacad4803a7..b18e661c892b916647dce7f4fb49e7930311d172 100644 (file)
@@ -204,6 +204,7 @@ static const struct snd_soc_dai_ops q6dma_ops = {
        .shutdown       = q6apm_lpass_dai_shutdown,
        .set_channel_map  = q6dma_set_channel_map,
        .hw_params        = q6dma_hw_params,
+       .set_fmt        = q6i2s_set_fmt,
 };
 
 static const struct snd_soc_dai_ops q6i2s_ops = {