]> git.baikalelectronics.ru Git - uboot.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)
commit9a2213a3741d8191a6171cb2d780c16fd1be8cdd
tree9d96eb24229e297a453ba5774efca6e6c1164855
parent59d72a4bbe827e1a8153b4ec0a0a14c76739a586
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