diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-07-25 13:45:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-27 20:16:51 +0200 |
commit | 25942fdc824a709c48190356ed058ef7be19fb6a (patch) | |
tree | cbe6493284f15f9972a8718d8d7e44c62979ba35 /sound/soc/au1x/psc.h | |
parent | ASoC: au1x: update db1200 machine to the new way of things (diff) | |
download | linux-25942fdc824a709c48190356ed058ef7be19fb6a.tar.xz linux-25942fdc824a709c48190356ed058ef7be19fb6a.zip |
ASoC: au1x: use substream stream info directly
PCM_TX/RX are the same as SNDRV_PCM_STREAM_PLAYBACK/CAPTURE. Use
them directly.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/au1x/psc.h')
-rw-r--r-- | sound/soc/au1x/psc.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/au1x/psc.h b/sound/soc/au1x/psc.h index 1b21c4ffae12..b16b2e02e0c9 100644 --- a/sound/soc/au1x/psc.h +++ b/sound/soc/au1x/psc.h @@ -13,12 +13,6 @@ #ifndef _AU1X_PCM_H #define _AU1X_PCM_H -#define PCM_TX 0 -#define PCM_RX 1 - -#define SUBSTREAM_TYPE(substream) \ - ((substream)->stream == SNDRV_PCM_STREAM_PLAYBACK ? PCM_TX : PCM_RX) - struct au1xpsc_audio_data { void __iomem *mmio; |