]> 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)
commit212b90927aec98025a7942d62b68fba6d96d6514
tree6fd8da73ab6adc929b39010b8d1de56ba29b714b
parentb7d65746744b343701de14ca433982a3229390be
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