mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-09 01:28:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
55
drivers/fingerprint/fingerprint.h
Normal file
55
drivers/fingerprint/fingerprint.h
Normal file
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
* Copyright (C) 2013 Samsung Electronics. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef FINGERPRINT_H_
|
||||
#define FINGERPRINT_H_
|
||||
|
||||
#include <linux/clk.h>
|
||||
|
||||
/* fingerprint debug timer */
|
||||
#define FPSENSOR_DEBUG_TIMER_SEC (10 * HZ)
|
||||
|
||||
/* For Sensor Type Check */
|
||||
enum {
|
||||
SENSOR_UNKNOWN = -1,
|
||||
SENSOR_FAILED,
|
||||
SENSOR_VIPER,
|
||||
SENSOR_RAPTOR,
|
||||
SENSOR_EGIS,
|
||||
};
|
||||
|
||||
#define SENSOR_STATUS_SIZE 5
|
||||
static char sensor_status[SENSOR_STATUS_SIZE][8] ={"unknown", "failed",
|
||||
"viper", "raptor", "egis"};
|
||||
|
||||
|
||||
#ifdef CONFIG_SENSORS_FINGERPRINT_DUALIZATION
|
||||
extern int FP_CHECK; /* extern variable */
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SENSORS_FPRINT_SECURE
|
||||
#define MC_FC_FP_PM_SUSPEND ((uint32_t)(0x83000021))
|
||||
#define MC_FC_FP_PM_RESUME ((uint32_t)(0x83000022))
|
||||
#define MC_FC_FP_CS_SET ((uint32_t)(0x83000027))
|
||||
#define MC_FC_FP_PM_SUSPEND_CS_HIGH ((uint32_t)(0x83000028))
|
||||
|
||||
extern int fpsensor_goto_suspend;
|
||||
EXPORT_SYMBOL(fpsensor_goto_suspend);
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue