Add LPD device notify support in mmi_relay

Add LPD notify support in mmi_relay.
Add LPD notify event type definition.

Change-Id: Ib2cca69bacb3de8a9321b9df70331cf5471e793e
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2450302
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Yonghua Yan 2022-12-04 23:12:15 +08:00
commit c7dabf3b12

View file

@ -3,6 +3,14 @@
#include <linux/notifier.h>
/*
* Notify device event type definitions
*/
enum {
NOTIFY_EVENT_LPD_STATUS = 1,
NOTIFY_EVENT_TUD_STATUS = 2,
};
typedef enum notifier_type {
ATOMIC,
BLOCKING,
@ -13,6 +21,7 @@ typedef enum notifier_dev {
LCD,
FPS,
MMI_RELAY,
LPD,
NUM_DEVS,
}notifier_d;