Re: [PATCH 04/20] ASoC: soc-pcm.c: use temporary variable at soc_get_playback_capture()

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

 



Hi Amadeusz


> >   {
> >   	struct snd_soc_dai_link *dai_link = rtd->dai_link;
> >   	struct snd_soc_dai *cpu_dai;
> > +	int tmp_playback = 0;
> > +	int tmp_capture  = 0;
> >   	int i;
> >   
> 
> Maybe name it something more descriptive, like "has_playback" and 
> "has_capture", I think it would make core more readable in context?

Thanks, will do in v2 patch


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