12 Oct
2010
12 Oct
'10
11:16 a.m.
On Tue, 2010-10-12 at 11:40 +0900, Kuninori Morimoto wrote:
Signed-off-by: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
sound/soc/sh/fsi.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 2b3a50d..09a2df2 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c @@ -295,6 +295,11 @@ static u32 fsi_get_info_flags(struct fsi_priv *fsi) master->info->portb_flags; }
+static int fsi_is_play(struct snd_pcm_substream *substream) +{
- return substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
+}
It may be better to make this inline since it's very small.
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk