hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/gpu/drm/tiny/gm12u320.c
....@@ -67,10 +67,10 @@
6767 #define READ_STATUS_SIZE 13
6868 #define MISC_VALUE_SIZE 4
6969
70
-#define CMD_TIMEOUT msecs_to_jiffies(200)
71
-#define DATA_TIMEOUT msecs_to_jiffies(1000)
72
-#define IDLE_TIMEOUT msecs_to_jiffies(2000)
73
-#define FIRST_FRAME_TIMEOUT msecs_to_jiffies(2000)
70
+#define CMD_TIMEOUT 200
71
+#define DATA_TIMEOUT 1000
72
+#define IDLE_TIMEOUT 2000
73
+#define FIRST_FRAME_TIMEOUT 2000
7474
7575 #define MISC_REQ_GET_SET_ECO_A 0xff
7676 #define MISC_REQ_GET_SET_ECO_B 0x35
....@@ -399,7 +399,7 @@
399399 * switches back to showing its logo.
400400 */
401401 queue_delayed_work(system_long_wq, &gm12u320->fb_update.work,
402
- IDLE_TIMEOUT);
402
+ msecs_to_jiffies(IDLE_TIMEOUT));
403403
404404 return;
405405 err: