diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2009-10-13 14:22:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:52:54 -0500 |
commit | ea071cc705e8bfba0c8bf84be8d4f9f4e9da6962 (patch) | |
tree | 9dafff9da1740dcfc475100b4d5dae963650cfd1 /sound/soc/au1x | |
parent | f1fc6645a4d2cb944320ce8ed1e40f88059779e1 (diff) |
MIPS: Alchemy: remove dbdma compat macros
Remove dbdma compat macros, move remaining users over to default
queueing functions and -flags.
(Queueing function signature has changed in order to give
a build failure instead of silent functional changes due
to the no longer implicitly specified DDMA_FLAGS_IE flag)
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'sound/soc/au1x')
-rw-r--r-- | sound/soc/au1x/dbdma2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/au1x/dbdma2.c b/sound/soc/au1x/dbdma2.c index 19e4d37eba1c..2929f1c42264 100644 --- a/sound/soc/au1x/dbdma2.c +++ b/sound/soc/au1x/dbdma2.c | |||
@@ -94,7 +94,7 @@ static const struct snd_pcm_hardware au1xpsc_pcm_hardware = { | |||
94 | 94 | ||
95 | static void au1x_pcm_queue_tx(struct au1xpsc_audio_dmadata *cd) | 95 | static void au1x_pcm_queue_tx(struct au1xpsc_audio_dmadata *cd) |
96 | { | 96 | { |
97 | au1xxx_dbdma_put_source_flags(cd->ddma_chan, | 97 | au1xxx_dbdma_put_source(cd->ddma_chan, |
98 | (void *)phys_to_virt(cd->dma_area), | 98 | (void *)phys_to_virt(cd->dma_area), |
99 | cd->period_bytes, DDMA_FLAGS_IE); | 99 | cd->period_bytes, DDMA_FLAGS_IE); |
100 | 100 | ||
@@ -109,9 +109,9 @@ static void au1x_pcm_queue_tx(struct au1xpsc_audio_dmadata *cd) | |||
109 | 109 | ||
110 | static void au1x_pcm_queue_rx(struct au1xpsc_audio_dmadata *cd) | 110 | static void au1x_pcm_queue_rx(struct au1xpsc_audio_dmadata *cd) |
111 | { | 111 | { |
112 | au1xxx_dbdma_put_dest_flags(cd->ddma_chan, | 112 | au1xxx_dbdma_put_dest(cd->ddma_chan, |
113 | (void *)phys_to_virt(cd->dma_area), | 113 | (void *)phys_to_virt(cd->dma_area), |
114 | cd->period_bytes, DDMA_FLAGS_IE); | 114 | cd->period_bytes, DDMA_FLAGS_IE); |
115 | 115 | ||
116 | /* update next-to-queue period */ | 116 | /* update next-to-queue period */ |
117 | ++cd->q_period; | 117 | ++cd->q_period; |