[PATCH] ASoC: soc-pcm: fix hw param limits calculation for multi-DAI

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Feb 18 00:17:10 CET 2021


Hi Kai

> In case DPCM runtime has multiple CPU DAIs, dpcm_init_runtime_hw()
> is called multiple times, once for each CPU DAI. This will
> will lead to ignoring hw limits of all but the first DAI.
> 
> Fix this by moving soc_pcm_hw_init() up by one level to
> dpcm_init_runtime_hw().
> 
> Fixes: 140f553d1298 ("ASoC: soc-pcm: fix hwparams min/max init for dpcm")
> Suggested-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> Signed-off-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>
> ---

Sorry I couldn't post patch because I had Holiday yesterday.
Thank you for this patch !
I'm happy it could solve your issue.

Thank you for your help !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list