Re: [PATCH v2 01/21] ASoC: soc-pcm: replace snd_soc_runtime_activate()/deactivate() to macro

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

 



Hi Mark

> > snd_soc_runtime_activate()/deactivate() are implemented by global funtion
> > which are just calling snd_soc_runtime_action().
> > We can replace it to macro, and this patch do it.
> > This patch is prepare for xxx_active cleanup.
> 
> It'd be better to use static inline functions rather than macros -
> unlike the loop iterators there's no C syntax reason not to use an
> inline and inline functions provide better type safety and namespacing.

Oh, yes, indeed.
Will post v3 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