On Tue, 2010-10-12 at 13:39 +0900, Kuninori Morimoto wrote: > Current FSI driver had not cared about simultaneous > playback/recorde on same port. > This patch add new fsi_stream struct to care it, > > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> > --- > sound/soc/sh/fsi.c | 142 +++++++++++++++++++++++++++++++-------------------- > 1 files changed, 86 insertions(+), 56 deletions(-) > > diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c > index 895ce75..0c80d10 100644 > --- a/sound/soc/sh/fsi.c > +++ b/sound/soc/sh/fsi.c > @@ -48,6 +48,10 @@ > #define MREG_START A_MST_CTLR > #define MREG_END FIFO_SZ > > +/* is */ > +#define IS_PLAY 1 > +#define IS_CAPTURE 0 Please use SNDRV_PCM_STREAM_PLAYBACK and SNDRV_PCM_STREAM_CAPTURE here. -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel