summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/apalis-tk1-k20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/apalis-tk1-k20.c b/drivers/mfd/apalis-tk1-k20.c
index d1a8dd8a49c2..a6d1c1cdc0b6 100644
--- a/drivers/mfd/apalis-tk1-k20.c
+++ b/drivers/mfd/apalis-tk1-k20.c
@@ -125,7 +125,7 @@ static int apalis_tk1_k20_spi_read(void *context, const void *reg,
ret = -EIO;
} else if ((val_size > 1) && (val_size < APALIS_TK1_K20_MAX_BULK)) {
- t.len = 5;
+ t.len = 12;
w[0] = APALIS_TK1_K20_BULK_READ_INST;
spi_message_init(&m);
spi_message_add_tail(&t, &m);