summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2018-12-17 00:01:27 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-12-27 16:50:52 +0100
commit2dfceb40a4c02c492ba76764fcaf6dbf39b6977e (patch)
treedf253321dcc7afb4466017d1df5efafeaf17435e
parent5ab0b79f509554f90f9553cef1ffb488b9d02f97 (diff)
apalis-tk1: mfd: k20: extra cycles for fifo cleanup
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-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 d1a8dd8..a6d1c1c 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);