linux/sound/soc/cirrus
Lars-Peter Clausen 453807f300 ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params
Currently the ep93xx_dma_params struct which is passed to the dmaengine driver
is constructed at runtime from the ep93xx_pcm_dma_params that gets passed to the
ep93xx PCM driver from one of the ep93xx DAI drivers. The ep93xx_pcm_dma_params
struct is almost identical to the ep93xx_dma_params struct. The only missing
field is the 'direction' field, which is computed at runtime in the PCM driver
based on the current substream. Since we know in advance which
ep93xx_pcm_dma_params struct is being used for which substream at compile time,
we also already know which direction to use at compile time. So we can easily
replace all instances of ep93xx_pcm_dma_params with their ep93xx_dma_params
counterpart. This allows us to simplify the code in the ep93xx pcm driver quite
a bit.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-03-26 14:16:52 +00:00
..
edb93xx.c ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params 2013-03-26 14:16:52 +00:00
ep93xx-ac97.c ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params 2013-03-26 14:16:52 +00:00
ep93xx-i2s.c ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params 2013-03-26 14:16:52 +00:00
ep93xx-pcm.c ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params 2013-03-26 14:16:52 +00:00
Kconfig ASoC: Rename ep93xx soc directory to cirrus 2012-08-28 10:24:21 -07:00
Makefile ASoC: Rename ep93xx soc directory to cirrus 2012-08-28 10:24:21 -07:00
simone.c ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params 2013-03-26 14:16:52 +00:00
snappercl15.c ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params 2013-03-26 14:16:52 +00:00