projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'arc-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[linux-2.6-microblaze.git]
/
arch
/
mips
/
jazz
/
jazzdma.c
diff --git
a/arch/mips/jazz/jazzdma.c
b/arch/mips/jazz/jazzdma.c
index
461457b
..
eabddb8
100644
(file)
--- a/
arch/mips/jazz/jazzdma.c
+++ b/
arch/mips/jazz/jazzdma.c
@@
-552,7
+552,7
@@
static int jazz_dma_map_sg(struct device *dev, struct scatterlist *sglist,
dir);
sg->dma_address = vdma_alloc(sg_phys(sg), sg->length);
if (sg->dma_address == DMA_MAPPING_ERROR)
- return
0
;
+ return
-EIO
;
sg_dma_len(sg) = sg->length;
}