From ffe1fe74e8d47de298bbe4f51be0ad17e96a3a8d Mon Sep 17 00:00:00 2001 From: wengjun1 Date: Wed, 27 May 2020 14:47:07 +0800 Subject: [PATCH] Nairobi hx83112f touch driver improvement Per discussed with vendor, we don't need to wait until the init code of display is downloaded to start the touch resume work, so change the corresponding event when touch resume. Change-Id: I4dbc09feaad4e2022366cbd6c5f8cfdb118d6374 Signed-off-by: wengjun1 Reviewed-on: https://gerrit.mot.com/1581976 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jianqiu Huang Reviewed-by: Hujun Liao Submit-Approved: Jira Key --- .../input/touchscreen/himax_0flash_mmi/himax_platform_QCT_SPI.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/himax_0flash_mmi/himax_platform_QCT_SPI.c b/drivers/input/touchscreen/himax_0flash_mmi/himax_platform_QCT_SPI.c index 76918e88cb75..764f17eb6bb2 100755 --- a/drivers/input/touchscreen/himax_0flash_mmi/himax_platform_QCT_SPI.c +++ b/drivers/input/touchscreen/himax_0flash_mmi/himax_platform_QCT_SPI.c @@ -1067,7 +1067,7 @@ int panel_notifier_callback(struct notifier_block *self, unsigned long event, vo #endif break; - case PANEL_EVENT_DISPLAY_ON: + case PANEL_EVENT_PANEL_PREPARE: I("event=%lu\n", event); himax_common_resume(ts->dev); break;