summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra20-slink.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-07-10 15:29:33 +0200
committerMark Brown <broonie@linaro.org>2014-07-11 13:57:10 +0100
commit3fc25421f55e36426f5e5cc227cacc840493a943 (patch)
tree5895bda819506e0b22e5a54fcad24ae9c8c8b4e4 /drivers/spi/spi-tegra20-slink.c
parent89e4b66a2e34744615c79349aa936df1b4204faf (diff)
downloadblackbird-op-linux-3fc25421f55e36426f5e5cc227cacc840493a943.tar.gz
blackbird-op-linux-3fc25421f55e36426f5e5cc227cacc840493a943.zip
spi: core: Pass correct device to dma_map_sg()
According to Documentation/dmaengine.txt, scatterlists must be mapped using the DMA struct device. However, "dma_chan.dev->device" is the sysfs class device's device. Use "dma_chan.device->dev" instead, which is the real DMA device's device. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-tegra20-slink.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud