projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a192e
)
Blackfin arch: dma_memcpy() - do not return NULL when transferring a multiple of 65k
author
Mike Frysinger
<vapier.adi@gmail.com>
Wed, 7 Jan 2009 15:14:38 +0000
(23:14 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Wed, 7 Jan 2009 15:14:38 +0000
(23:14 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/bfin_dma_5xx.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/bfin_dma_5xx.c
b/arch/blackfin/kernel/bfin_dma_5xx.c
index ad936843ecda943dbf3975b330043516660d7594..1882fd82879b8c4a4fb9eb9cce09c501177c2cd1 100644
(file)
--- a/
arch/blackfin/kernel/bfin_dma_5xx.c
+++ b/
arch/blackfin/kernel/bfin_dma_5xx.c
@@
-597,8
+597,8
@@
void *dma_memcpy(void *dest, const void *src, size_t size)
rest = size - bulk;
if (bulk)
__dma_memcpy(dest, src, bulk);
-
addr =
__dma_memcpy(dest+bulk, src+bulk, rest);
- return
addr
;
+ __dma_memcpy(dest+bulk, src+bulk, rest);
+ return
dest
;
}
EXPORT_SYMBOL(dma_memcpy);