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 /sound/arm/pxa2xx-pcm.h | |
parent | 2023c90c3a2c4c1aeb7f47649367d551c676da07 (diff) | |
download | blackbird-op-linux-d65a14587a9be853a887a1407db133df1fb68e29.tar.gz blackbird-op-linux-d65a14587a9be853a887a1407db133df1fb68e29.zip |
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 'sound/arm/pxa2xx-pcm.h')
-rw-r--r-- | sound/arm/pxa2xx-pcm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/arm/pxa2xx-pcm.h b/sound/arm/pxa2xx-pcm.h index 65f86b56ba42..2a8fc08d52a1 100644 --- a/sound/arm/pxa2xx-pcm.h +++ b/sound/arm/pxa2xx-pcm.h @@ -13,14 +13,14 @@ struct pxa2xx_runtime_data { int dma_ch; - struct pxa2xx_pcm_dma_params *params; + struct snd_dmaengine_dai_dma_data *params; pxa_dma_desc *dma_desc_array; dma_addr_t dma_desc_array_phys; }; struct pxa2xx_pcm_client { - struct pxa2xx_pcm_dma_params *playback_params; - struct pxa2xx_pcm_dma_params *capture_params; + struct snd_dmaengine_dai_dma_data *playback_params; + struct snd_dmaengine_dai_dma_data *capture_params; int (*startup)(struct snd_pcm_substream *); void (*shutdown)(struct snd_pcm_substream *); int (*prepare)(struct snd_pcm_substream *); |