[alsa-devel] [PATCH 02/19] ASoC: fsi: tidyup: fsi_stream_xx() functions were gathered

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Feb 3 12:42:03 CET 2012


On Fri, Feb 03, 2012 at 12:50:35AM -0800, Kuninori Morimoto wrote:

> +/*
> + *		fsi_stream_xx() function
> + */
> +#define fsi_is_play(substream)	fsi_stream_is_play(substream->stream)
> +static inline int fsi_stream_is_play(int stream)
> +{
> +	return stream == SNDRV_PCM_STREAM_PLAYBACK;
> +}

That #define should be an inline function.  I'll apply this but please
fix this incrementally.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120203/3de5cd98/attachment.sig 


More information about the Alsa-devel mailing list