himax_0flash: fix driver resume issue

Driver was not resuming from suspend as it was using a panel event
that is not reliable. Use PANEL_EVENT_DISPLAY_ON instead.

NO_PROP_NEEDED: <only applies to bo>

Change-Id: I435686b53453e18fbcfd864ab355c8817779f27a
Reviewed-on: https://gerrit.mot.com/1737310
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Eduardo Ferreira Barbosa <edufb@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Rafael Ortolan 2020-08-31 10:39:01 -03:00
commit 60afa605f4

View file

@ -1081,7 +1081,7 @@ int panel_notifier_callback(struct notifier_block *self, unsigned long event, vo
#endif
break;
case PANEL_EVENT_PANEL_PREPARE:
case PANEL_EVENT_DISPLAY_ON:
I("event=%lu\n", event);
himax_common_resume(ts->dev);
break;