]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-imx: use correct enumeration type
authorStefan Agner <stefan@agner.ch>
Mon, 2 Mar 2015 23:28:31 +0000 (00:28 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 3 Mar 2015 09:58:24 +0000 (09:58 +0000)
commit43868a8655570e283c2fd88c77fd00f6dd966234
tree6fd8da73ab6adc929b39010b8d1de56ba29b714b
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
spi: spi-imx: use correct enumeration type

The fourth argument of dmaengine_prep_slave_sg needs to be of the
enumeration type dma_transfer_direction instead of dma_data_direction.
Since the used enumeration values actually stay the same, this is not
an actual issue at runtime.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c