mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
sm8250: make nt36523 touchscreen start faster
This commit is contained in:
committed by
Jianfeng Liu
parent
b6139e1714
commit
4232299a3b
@@ -0,0 +1,25 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: amazingfate <liujianfeng1994@gmail.com>
|
||||||
|
Date: Thu, 26 Oct 2023 13:13:34 +0800
|
||||||
|
Subject: input: nt36523: short the firmware download delay from 14s to 4s
|
||||||
|
|
||||||
|
---
|
||||||
|
drivers/input/touchscreen/nt36523/nt36xxx.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/drivers/input/touchscreen/nt36523/nt36xxx.c b/drivers/input/touchscreen/nt36523/nt36xxx.c
|
||||||
|
index 45500ad5cd91..27f93e531290 100644
|
||||||
|
--- a/drivers/input/touchscreen/nt36523/nt36xxx.c
|
||||||
|
+++ b/drivers/input/touchscreen/nt36523/nt36xxx.c
|
||||||
|
@@ -1452,7 +1452,7 @@ static int32_t nvt_ts_probe(struct spi_device *client)
|
||||||
|
}
|
||||||
|
INIT_DELAYED_WORK(&ts->nvt_fwu_work, Boot_Update_Firmware);
|
||||||
|
// please make sure boot update start after display reset(RESX) sequence
|
||||||
|
- queue_delayed_work(nvt_fwu_wq, &ts->nvt_fwu_work, msecs_to_jiffies(14000));
|
||||||
|
+ queue_delayed_work(nvt_fwu_wq, &ts->nvt_fwu_work, msecs_to_jiffies(4000));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
NVT_LOG("NVT_TOUCH_ESD_PROTECT is %d\n", NVT_TOUCH_ESD_PROTECT);
|
||||||
|
--
|
||||||
|
Armbian
|
||||||
|
|
||||||
Reference in New Issue
Block a user