projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e963f
)
spi: dw-mid: switch to new dmaengine_terminate_* API
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Fri, 5 Feb 2016 14:46:26 +0000
(16:46 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 5 Feb 2016 17:41:49 +0000
(17:41 +0000)
Convert dmaengine_terminate_all() calls to synchronous versions.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mid.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-dw-mid.c
b/drivers/spi/spi-dw-mid.c
index 9185f6c08459842e68a6292dbae6b6884d53fcde..e31971f91475b1b3d9f1b2011e0b6e4e2ae4697b 100644
(file)
--- a/
drivers/spi/spi-dw-mid.c
+++ b/
drivers/spi/spi-dw-mid.c
@@
-89,10
+89,10
@@
static void mid_spi_dma_exit(struct dw_spi *dws)
if (!dws->dma_inited)
return;
- dmaengine_terminate_
all
(dws->txchan);
+ dmaengine_terminate_
sync
(dws->txchan);
dma_release_channel(dws->txchan);
- dmaengine_terminate_
all
(dws->rxchan);
+ dmaengine_terminate_
sync
(dws->rxchan);
dma_release_channel(dws->rxchan);
}