Re: [PATCH v6 13/13] ASoC: qcom: q6apm: Add support for early buffer mapping on DSP

From: Mark Brown

Date: Fri Mar 20 2026 - 11:45:49 EST


On Fri, Mar 20, 2026 at 02:49:18PM +0000, Srinivas Kandagatla wrote:

> static int q6apm_dai_pcm_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd)
> {

> + if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) {
> + substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
> + q6apm_dai_memory_map(component, substream, graph_id);

This doesn't assign ret...

> + if (ret)
> + return ret;

...which means this isn't doing the right thing.

Attachment: signature.asc
Description: PGP signature