3 Feb
2012
3 Feb
'12
12:42 p.m.
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.