projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1311b
)
spi/rockchip: fixup incorrect dma direction setting
author
Addy Ke
<addy.ke@rock-chips.com>
Wed, 20 Aug 2014 03:47:42 +0000
(11:47 +0800)
committer
Mark Brown
<broonie@linaro.org>
Wed, 20 Aug 2014 15:31:17 +0000
(10:31 -0500)
Signed-off-by: Addy Ke <addy.ke@rock-chips.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rockchip.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-rockchip.c
b/drivers/spi/spi-rockchip.c
index c0743604b906c749b62d1fedaaa8f3250b70c0c9..6321326eb751448ecb128bda8f5b7bf2a8258150 100644
(file)
--- a/
drivers/spi/spi-rockchip.c
+++ b/
drivers/spi/spi-rockchip.c
@@
-678,7
+678,7
@@
static int rockchip_spi_probe(struct platform_device *pdev)
rs->dma_tx.addr = (dma_addr_t)(mem->start + ROCKCHIP_SPI_TXDR);
rs->dma_rx.addr = (dma_addr_t)(mem->start + ROCKCHIP_SPI_RXDR);
rs->dma_tx.direction = DMA_MEM_TO_DEV;
- rs->dma_
t
x.direction = DMA_DEV_TO_MEM;
+ rs->dma_
r
x.direction = DMA_DEV_TO_MEM;
master->can_dma = rockchip_spi_can_dma;
master->dma_tx = rs->dma_tx.ch;