[alsa-devel] DPCM: skip DAPM_STREAM_STOP event to BE, if still used by other FE

Mark Brown broonie at kernel.org
Wed Jun 29 21:08:16 CEST 2016


On Sun, Jun 05, 2016 at 02:58:59PM +0800, Kai Chieh Chuang wrote:

> The BE receiving SND_SOC_DAPM_STREAM_STOP event, while still used by a
> FE who is in STREAM_START state. The DAPM will just inactive BE related
> widget/dai without checking. This just doesn't seems right.

Why not?  The backend is still active and running, why would it expect
to be stopped unless it's supposed to actually stop?

> Actually, i trace the log, when one of the FE sent stop event to "still
> in use BE", the BE power state will not be changed. Until the system

Sure, until all the users stop using it it should stay running.  What
would you expect it to do?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160629/32a2eb24/attachment.sig>


More information about the Alsa-devel mailing list