Re: [PATCH 05/17] ASoC: soc-dai: add snd_soc_pcm_dai_trigger()

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

 



Hi Ranjani

Thank you for reviewing

> > From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> > 
> > We have 2 type of component functions
> > snd_soc_dai_xxx()     is focusing to dai itself,
> > snd_soc_pcm_dai_xxx() is focusing to rtd related dai.
> > 
> > Now we can update snd_soc_dai_trigger() to
> > snd_soc_pcm_dai_trigger(). This patch do it.
> > 
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> > ---
(snip)
> > -	for_each_rtd_dais(rtd, i, dai) {
> > -		ret = snd_soc_dai_trigger(dai, substream, cmd);
> > -		if (ret < 0)
> > -			return ret;
> > -	}
> > +	ret = snd_soc_pcm_dai_trigger(substream, cmd);
> > +	if (ret < 0)
> > +		return ret;
> >  
> >  	return 0;
> Maybe just "return snd_soc_pcm_dai_trigger(substream, cmd);" here?

Ohh, yes indeed.
Thank you. will fix in v2


Thank you for your help !!

Best regards
---
Kuninori Morimoto



[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