]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: Return -ENOSYS when system call is not available
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 21:26:06 +0000 (10:26 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commit24e3d5d2a9ed4e4cad6aba4694596efaf82c610c
tree9d96eb24229e297a453ba5774efca6e6c1164855
parent6379a94cace5b0dbb3b35f8b3890ff023a59158d
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: Simon Glass <sjg@chromium.org>
include/spi-mem.h