Commit bdc17a1b authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: dma_memcpy() - do not return NULL when transferring a multiple of 65k

Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent 85a192e9
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment