summaryrefslogtreecommitdiffstats
path: root/sound/soc/nuc900/nuc900-audio.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-03-15 12:15:24 +0100
committerMark Brown <broonie@kernel.org>2015-03-16 11:40:52 +0000
commitfa41181fe37530d78acb25b4e2c9c019241cbbf6 (patch)
treee972ee953cc76fa1cca455eafcc051b971a66412 /sound/soc/nuc900/nuc900-audio.h
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadlinux-fa41181fe37530d78acb25b4e2c9c019241cbbf6.tar.bz2
ASoC: nuc900: No need to track the dma buffer in the driver state struct
The DMA buffer and address can be accessed through the snd_pcm_runtime. There is no need to manually track them in the driver's state struct. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/nuc900/nuc900-audio.h')
-rw-r--r--sound/soc/nuc900/nuc900-audio.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/nuc900/nuc900-audio.h b/sound/soc/nuc900/nuc900-audio.h
index 59f7e8ed1a68..d0b725705914 100644
--- a/sound/soc/nuc900/nuc900-audio.h
+++ b/sound/soc/nuc900/nuc900-audio.h
@@ -100,10 +100,7 @@
struct nuc900_audio {
void __iomem *mmio;
spinlock_t lock;
- dma_addr_t dma_addr[2];
- unsigned long buffersize[2];
unsigned long irq_num;
- struct snd_pcm_substream *substream;
struct resource *res;
struct clk *clk;
struct device *dev;