diff options
author | Daniel Mack <zonque@gmail.com> | 2013-08-12 10:42:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-15 11:29:07 +0100 |
commit | d65a14587a9be853a887a1407db133df1fb68e29 (patch) | |
tree | 97e31a61fe5c8d567ccb4c6f97c5eaf95fe700ce /include/sound/pxa2xx-lib.h | |
parent | 2023c90c3a2c4c1aeb7f47649367d551c676da07 (diff) | |
download | op-kernel-dev-d65a14587a9be853a887a1407db133df1fb68e29.zip op-kernel-dev-d65a14587a9be853a887a1407db133df1fb68e29.tar.gz |
ASoC: pxa: use snd_dmaengine_dai_dma_data
Use snd_dmaengine_dai_dma_data for passing the dma parameters from
clients to the pxa pcm lib. This does no functional change, it's just an
intermedia step to migrate the pxa bits over to dmaengine.
The calculation of dcmd is a transition hack which will be removed again
in a later patch. It's just there to make the transition more readable.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/pxa2xx-lib.h')
-rw-r--r-- | include/sound/pxa2xx-lib.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sound/pxa2xx-lib.h b/include/sound/pxa2xx-lib.h index 2fd3d25..56e818e 100644 --- a/include/sound/pxa2xx-lib.h +++ b/include/sound/pxa2xx-lib.h @@ -6,13 +6,6 @@ /* PCM */ -struct pxa2xx_pcm_dma_params { - char *name; /* stream identifier */ - u32 dcmd; /* DMA descriptor dcmd field */ - volatile u32 *drcmr; /* the DMA request channel to use */ - u32 dev_addr; /* device physical address for DMA */ -}; - extern int __pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params); extern int __pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream); |