From b065a0ed904b50ab6c8a81e88f97a6d4f45645d9 Mon Sep 17 00:00:00 2001 From: Tobias Poganiuch <tobias.poganiuch@seco.com> Date: Tue, 26 Sep 2023 14:27:31 +0200 Subject: [PATCH] driver:ucb1400: Remove sleep at beginning of poll_touch function --- drivers/input/touchscreen/ucb1400_ts.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c index 064cf4f93b031..02757bb9f1d2b 100644 --- a/drivers/input/touchscreen/ucb1400_ts.c +++ b/drivers/input/touchscreen/ucb1400_ts.c @@ -213,9 +213,6 @@ static void ucb1400_poll_touch(struct ucb1400_ts *ucb, struct touch_data *data) unsigned next_sleep = 0, timestamp = jiffies_to_msecs(jiffies); - /* Start with a small delay before checking pendown state */ - msleep(UCB1400_TS_POLL_PERIOD); - ucb->filter_data.pen_up_start = jiffies_to_msecs(jiffies); while (!ucb->stopped) { -- GitLab