Files
android_kernel_motorola_sm6225/include/linux/fingerprint_mmi.h
T
haojl2 4bd01a0a20 goodix_fod_mmi: Add device enable notifier chain
Add fingerprint notifier chain in kernel module.
When fingerprint sensor is in working mode, HAL will set dev enable
status, and driver will broadcast this info to FPS notifier chain.

Change-Id: I075cf59aaf031d491f6e7edbe11ed509786e73aa
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1551681
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Qiuliang Cheng <chengql2@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-05-18 21:14:55 -05:00

23 lines
797 B
C

/*
* Copyright (C) 2020 Motorola Mobility LLC
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __LINUX_FINGERPRINT_MMI_H_
#define __LINUX_FINGERPRINT_MMI_H_
#include <linux/notifier.h>
extern int FPS_register_notifier(struct notifier_block *nb, unsigned long stype, bool report);
extern int FPS_unregister_notifier(struct notifier_block *nb, unsigned long stype);
#endif