Re: [PATCH] ASoC: soc-dapm.c: tidyup dapm_connect_dai_pair()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 27, 2023 at 10:09:27AM +0300, Péter Ujfalusi wrote:
> On 27/03/2023 03:34, Kuninori Morimoto wrote:

> > +static int convert_stream(int stream)
> > +{
> > +	if (stream == SNDRV_PCM_STREAM_CAPTURE)

> int get_cpu_stream_direction(struct snd_soc_dai_link *dai_link,
> 			     int stream)

> Add the comments here and use this to set the stream_cpu?

> The convert_stream() is an odd choice for the functionality.

I agree, I think the above is clearer.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux