[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211222055958.1383233-3-oskari@lemmela.net>
Date: Wed, 22 Dec 2021 07:59:58 +0200
From: Oskari Lemmela <oskari@...mela.net>
To: Mark Brown <broonie@...nel.org>
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
Oskari Lemmela <oskari@...mela.net>
Subject: [PATCH 2/2] spi: ar934x: fix transfer and word delays
Add missing delay between transferred messages and words.
Signed-off-by: Oskari Lemmela <oskari@...mela.net>
---
drivers/spi/spi-ar934x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/spi/spi-ar934x.c b/drivers/spi/spi-ar934x.c
index a2cf37aca234..ec7250c4c810 100644
--- a/drivers/spi/spi-ar934x.c
+++ b/drivers/spi/spi-ar934x.c
@@ -142,8 +142,10 @@ static int ar934x_spi_transfer_one_message(struct spi_controller *master,
reg >>= 8;
}
}
+ spi_delay_exec(&t->word_delay, t);
}
m->actual_length += t->len;
+ spi_transfer_delay_exec(t);
}
msg_done:
--
2.25.1
Powered by blists - more mailing lists