projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6379a94
)
spi: Return -ENOSYS when system call is not available
author
Simon Glass
<sjg@chromium.org>
Wed, 24 Mar 2021 21:26:06 +0000
(10:26 +1300)
committer
Simon Glass
<sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000
(16:33 +1200)
Update spi_controller_dma_map_mem_op_data() to use -ENOSYS, which is the
correct error code for U-Boot.
Signed-off-by: Simon Glass <sjg@chromium.org>
include/spi-mem.h
patch
|
blob
|
history
diff --git
a/include/spi-mem.h
b/include/spi-mem.h
index 8be3e2bf6b5fb5a6e592b7643162405529178bc6..e354c388979e63cd65dcef21c1120a0e8891f95f 100644
(file)
--- a/
include/spi-mem.h
+++ b/
include/spi-mem.h
@@
-222,7
+222,7
@@
spi_controller_dma_map_mem_op_data(struct spi_controller *ctlr,
const struct spi_mem_op *op,
struct sg_table *sg)
{
- return -ENO
TSUPP
;
+ return -ENO
SYS
;
}
static inline void