summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-gxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-gxp.c')
-rw-r--r--drivers/spi/spi-gxp.c2
1 files changed, 1 insertions, 1 deletions
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)