]> git.karo-electronics.de Git - linux-beck.git/commit
spi: davinci: use dma_mapping_error()
authorKevin Hilman <khilman@baylibre.com>
Thu, 12 Jan 2017 02:18:40 +0000 (18:18 -0800)
committerMark Brown <broonie@kernel.org>
Thu, 12 Jan 2017 17:24:45 +0000 (17:24 +0000)
commitc5a2a394835f473ae23931eda5066d3771d7b2f8
tree34867fce2558611a0443d10de1e796a049acbccb
parentfafd67940774733fa97f4b09412aea6981b82e0a
spi: davinci: use dma_mapping_error()

The correct error checking for dma_map_single() is to use
dma_mapping_error().

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-davinci.c