Files
build/patch/kernel/archive/sunxi-6.16/patches.megous/input-cyttsp4-Port-to-6.16.patch
2025-09-21 20:09:24 +02:00

26 lines
858 B
Diff

From dbe2f0d5670532898fc7dabce014697b8d42eed2 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Mon, 16 Jun 2025 21:29:45 +0200
Subject: input: cyttsp4: Port to 6.16
---
drivers/input/touchscreen/cyttsp4_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/input/touchscreen/cyttsp4_core.c
index 7cb26929dc73..a84750623328 100644
--- a/drivers/input/touchscreen/cyttsp4_core.c
+++ b/drivers/input/touchscreen/cyttsp4_core.c
@@ -1269,7 +1269,7 @@ static void cyttsp4_stop_wd_timer(struct cyttsp4 *cd)
static void cyttsp4_watchdog_timer(struct timer_list *t)
{
- struct cyttsp4 *cd = from_timer(cd, t, watchdog_timer);
+ struct cyttsp4 *cd = timer_container_of(cd, t, watchdog_timer);
dev_vdbg(cd->dev, "%s: Watchdog timer triggered\n", __func__);
--
2.51.0