[PATCH 2/3] ASoC: add function parameters to enable forced path pruning

Mark Brown broonie at kernel.org
Tue Mar 10 13:45:44 CET 2020


On Mon, Mar 09, 2020 at 06:07:48PM +0100, Guennadi Liakhovetski wrote:

> soc_dpcm_runtime_update() to activate an audio path and update audio
> routing. When streaming is stopped, the vhost driver calls
> soc_dpcm_runtime_update() and snd_soc_runtime_deactivate(). The latter
> doesn't work at the moment, because the DPCM doesn't recognise the
> path as inactive. We address this by adding a "mode" parameter to
> soc_dpcm_runtime_update(). If virtualisation isn't used, the current
> behaviour isn't affected.

So why doesn't DPCM recognize that the path is inactive and why is it
better to do this than fix whatever the issue is there?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200310/011a2ea1/attachment.sig>


More information about the Alsa-devel mailing list