提交 24e3d5d2 编写于 作者: S Simon Glass

spi: Return -ENOSYS when system call is not available

Update spi_controller_dma_map_mem_op_data() to use -ENOSYS, which is the
correct error code for U-Boot.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 6379a94c
...@@ -222,7 +222,7 @@ spi_controller_dma_map_mem_op_data(struct spi_controller *ctlr, ...@@ -222,7 +222,7 @@ spi_controller_dma_map_mem_op_data(struct spi_controller *ctlr,
const struct spi_mem_op *op, const struct spi_mem_op *op,
struct sg_table *sg) struct sg_table *sg)
{ {
return -ENOTSUPP; return -ENOSYS;
} }
static inline void static inline void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册