ASoC dailink capture/playback flags

Mark Brown broonie at kernel.org
Wed May 20 14:14:43 CEST 2020


On Tue, May 19, 2020 at 09:25:31PM -0500, Pierre-Louis Bossart wrote:

> So here are the questions:

> - when using DPCM, is there an expectation to use dpcm_ flags only?

> - should we instead use playback/capture_only when only one of the two dpcm_
> flags is set?

> - should we flags errors if we ever encounter cases with e.g. dpcm_playback
> = true and capture_only = true?

TBH I'm not convinced DPCM is well enough tied together to have clear
answers on this.  I don't really know what those DPCM level flags are
doing.

> - do we actually need two sets of definitions? There are very few users of
> the .playback_only and .capture_only flags and only a single place where
> it's checked in soc-pcm.c

We could probably do a driver only thing for the i.MX stuff if we had
to.
-------------- 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/20200520/66cd983f/attachment.sig>


More information about the Alsa-devel mailing list