blob: dd73f824099ac9bf926b5cb9c839679ca2910433 [file] [log] [blame]
developer35d80ec2022-05-17 15:22:05 +08001From 02205bef8a645d4374d2869e3a5a5a1d7c2e693a Mon Sep 17 00:00:00 2001
2From: Qii Wang <qii.wang@mediatek.com>
3Date: Sat, 14 May 2022 14:18:13 +0800
4Subject: [PATCH] [Modify tick_delay for spi work safety]
5
6---
7 drivers/spi/spi-mt65xx.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
11index bef03bd8c..c19e2d4d7 100644
12--- a/drivers/spi/spi-mt65xx.c
13+++ b/drivers/spi/spi-mt65xx.c
14@@ -195,7 +195,7 @@ static const struct mtk_spi_compatible mt8183_compat = {
15 */
16 static const struct mtk_chip_config mtk_default_chip_info = {
17 .sample_sel = 0,
18- .get_tick_dly = 1,
19+ .get_tick_dly = 2,
20 };
21
22 static const struct of_device_id mtk_spi_of_match[] = {
23--
242.18.0
25