[alsa-devel] [PATCH v3 08/13] ASoC: Add SoundWire stream programming interface

Mark Brown broonie at kernel.org
Tue Apr 17 13:11:18 CEST 2018


On Mon, Apr 16, 2018 at 08:53:36PM +0530, Vinod Koul wrote:

> +/**
> + * snd_soc_dai_set_sdw_stream() - Configures a DAI for SDW stream operation
> + * @dai: DAI
> + * @stream: STREAM
> + * @direction: Stream direction(Playback/Capture)
> + * SoundWire subsystem doesn't have a notion of direction and we reuse
> + * the ASoC stream direction to configure source/sink ports.
> + *
> + * Returns 0 on success, a negative error code otherwise.
> + */
> +static inline int snd_soc_dai_set_sdw_stream(struct snd_soc_dai *dai,
> +				void *stream, int direction)
> +{

How do we clear the stream that's been set up?  I'd expect that to be a
useful thing to do from a housekeeping point of view if nothing else.
-------------- 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/20180417/970b18f2/attachment.sig>


More information about the Alsa-devel mailing list