linux/sound/soc/nuc900
Wan ZongShun 018334c045 ASoC: nuc900: patch for SUBSTREAM_TYPE', 'PCM_TX' and 'PCM_RX' removal
This patch is to remove the 'SUBSTREAM_TYPE','PCM_TX' and 'PCM_RX' definition.

There is no need to redefine SNDRV_PCM_STREAM_PLAYBACK as PCM_TX,
the SUBSTREAM_TYPE(substream) can be deleted too, the playback or record can be
judged by 'if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)' directly rather
than 'if (PCM_TX == stype)', which makes the codes easy to read.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-06-02 11:47:06 +01:00
..
Kconfig ASoC: NUC900/audio: add nuc900 audio driver support 2010-05-19 08:14:10 -07:00
Makefile ASoC: NUC900/audio: add nuc900 audio driver support 2010-05-19 08:14:10 -07:00
nuc900-ac97.c ASoC: nuc900: patch for SUBSTREAM_TYPE', 'PCM_TX' and 'PCM_RX' removal 2010-06-02 11:47:06 +01:00
nuc900-audio.c ASoC: NUC900/audio: add nuc900 audio driver support 2010-05-19 08:14:10 -07:00
nuc900-auido.h ASoC: nuc900: patch for SUBSTREAM_TYPE', 'PCM_TX' and 'PCM_RX' removal 2010-06-02 11:47:06 +01:00
nuc900-pcm.c ASoC: nuc900: patch for SUBSTREAM_TYPE', 'PCM_TX' and 'PCM_RX' removal 2010-06-02 11:47:06 +01:00