import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / kr076 / headset / accdet_custom.c
CommitLineData
6fa3eb70
S
1#include "accdet_custom_def.h"
2#include <accdet_custom.h>
3
4//key press customization: long press time
5struct headset_key_custom headset_key_custom_setting = {
6 2000
7};
8
9struct headset_key_custom* get_headset_key_custom_setting(void)
10{
11 return &headset_key_custom_setting;
12}
13
14#ifdef ACCDET_MULTI_KEY_FEATURE
15static struct headset_mode_settings cust_headset_settings = {
16 0x900, 0x400, 1, 0x3f0, 0x800, 0x800, 0x20
17};
18#else
19//headset mode register settings(for MT6575)
20static struct headset_mode_settings cust_headset_settings = {
21 0x900, 0x400, 1, 0x3f0, 0x3000, 0x3000, 0x20
22};
23#endif
24
25struct headset_mode_settings* get_cust_headset_settings(void)
26{
27 return &cust_headset_settings;
28}