linux/sound/soc/sh/rcar
Lars-Peter Clausen cd7bcc6000 ASoC: rcar: Fix dma direction type
dmaengine_prep_slave_single() expects a enum dma_transfer_direction and not a
enum dma_data_direction. Since the integer representations of both DMA_TO_DEVICE
and DMA_MEM_TO_DEV aswell as DMA_FROM_DEVICE and DMA_DEV_TO_MEM have the same
value the code worked fine even though it was using the wrong type.

Fixes the following warning from sparse:
	sound/soc/sh/rcar/core.c:227:49: warning: mixing different enum types
	sound/soc/sh/rcar/core.c:227:49:     int enum dma_data_direction  versus
	sound/soc/sh/rcar/core.c:227:49:     int enum dma_transfer_direction

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-06-21 21:01:01 +01:00
..
adg.c ASoC: rsnd: add DVC support 2014-05-13 19:06:16 +01:00
core.c ASoC: rcar: Fix dma direction type 2014-06-21 21:01:01 +01:00
dvc.c ASoC: rsnd: module name is unified 2014-05-26 14:34:55 +01:00
gen.c ASoC: rsnd: add rsnd_gen_dma_addr() for DMAC addr 2014-05-26 14:34:56 +01:00
Makefile ASoC: rsnd: add DVC support 2014-05-13 19:06:16 +01:00
rsnd.h ASoC: rcar: Fix dma direction type 2014-06-21 21:01:01 +01:00
src.c Merge remote-tracking branches 'asoc/topic/omap' and 'asoc/topic/rcar' into asoc-next 2014-06-03 10:39:53 +01:00
ssi.c Merge remote-tracking branches 'asoc/topic/omap' and 'asoc/topic/rcar' into asoc-next 2014-06-03 10:39:53 +01:00