summaryrefslogtreecommitdiff
path: root/sound/oss
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-06-19 09:40:30 +0200
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2015-02-04 11:15:42 +0100
commitca743f701febb6e76ed0894e564044afc78157c4 (patch)
tree2a9420d73b9695e943967663a8532f727eba2967 /sound/oss
parentd966177e184572a35f9a83bce199e44654516c06 (diff)
downloadlinux-stable-ca743f701febb6e76ed0894e564044afc78157c4.tar.gz
linux-stable-ca743f701febb6e76ed0894e564044afc78157c4.tar.bz2
linux-stable-ca743f701febb6e76ed0894e564044afc78157c4.zip
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> (cherry picked from commit cd7bcc6000165f6215d15e2e32b58a646e5de5ec) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions