Message ID | 20230920215339.4125856-2-charles.kearney@hpe.com |
---|---|
State | Accepted |
Commit | 1a8196a93e493c0a50b800cb09cef60b124eee15 |
Headers | show |
Series | spi: spi-gxp: BUG: Correct spi write return value | expand |
diff --git a/drivers/spi/spi-gxp.c b/drivers/spi/spi-gxp.c index fd2fac236bbd..3aff5a166c94 100644 --- a/drivers/spi/spi-gxp.c +++ b/drivers/spi/spi-gxp.c @@ -194,7 +194,7 @@ static ssize_t gxp_spi_write(struct gxp_spi_chip *chip, const struct spi_mem_op return ret; } - return write_len; + return 0; } static int do_gxp_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op)