summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Pfetsch <spfetsch@google.com>2019-08-13 11:16:42 -0700
committerSteve Pfetsch <spfetsch@google.com>2019-09-18 21:17:24 +0000
commit15b4d19f1b8817657ef4e4a16bda12a356a27eec (patch)
treee56321a8c0eafa89d9a4e022359e9f20eacb83ec
parent13f68731a3778d2ec7abd4b2075d8f452ef87adf (diff)
downloadfts_touch-android-msm-coral-4.14-android10-qpr3.tar.gz
There is an unconditional flush of the suspend/resume work queue in the screen state callback from the display driver. There is no need to immediately flush the queue since any pending suspend/resume work will be canceled or completed before the next suspend/resume is queued. Bug: 137754842 Change-Id: Ibe26f057c5ff942b975710af43f40bf104f97917 Signed-off-by: Steve Pfetsch <spfetsch@google.com>
-rw-r--r--fts.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fts.c b/fts.c
index b523ad8..1958ce6 100644
--- a/fts.c
+++ b/fts.c
@@ -4972,9 +4972,6 @@ static int fts_screen_state_chg_callback(struct notifier_block *nb,
pr_debug("%s: fts notifier begin!\n", __func__);
- /* finish processing any events on queue */
- flush_workqueue(info->event_wq);
-
blank = *(int *) (evdata->data);
switch (blank) {
case MSM_DRM_BLANK_POWERDOWN: