projects
/
GitHub
/
LineageOS
/
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:
15a0385
)
dmaengine: at_xdmac: fix false condition for memset_sg transfers
author
Ludovic Desroches
<ludovic.desroches@atmel.com>
Tue, 24 Nov 2015 09:51:09 +0000
(10:51 +0100)
committer
Vinod Koul
<vinod.koul@intel.com>
Sat, 5 Dec 2015 08:43:51 +0000
(14:13 +0530)
The code was not in agreement with the comments.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: stable@vger.kernel.org # 4.3 and later
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/at_xdmac.c
b/drivers/dma/at_xdmac.c
index d09277f7dd1a021e29713a0ffbd00c11993ef45e..c344f89a77e84e722864113d5b516361c047dd6e 100644
(file)
--- a/
drivers/dma/at_xdmac.c
+++ b/
drivers/dma/at_xdmac.c
@@
-1333,7
+1333,7
@@
at_xdmac_prep_dma_memset_sg(struct dma_chan *chan, struct scatterlist *sgl,
* since we don't care about the stride anymore.
*/
if ((i == (sg_len - 1)) &&
- sg_dma_len(p
psg) == sg_dma_len(p
sg)) {
+ sg_dma_len(p
sg) == sg_dma_len(
sg)) {
dev_dbg(chan2dev(chan),
"%s: desc 0x%p can be merged with desc 0x%p\n",
__func__, desc, pdesc);