projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
arm
/
mach-mt8127
/
tpw8127_c_mlc
/
vibrator
/
cust_vibrator.c
1
#include <cust_vibrator.h>
2
#include <linux/types.h>
3
4
static struct
vibrator_hw cust_vibrator_hw
= {
5
.
vib_timer
=
25
,
6
#ifdef CUST_VIBR_LIMIT
7
.
vib_limit
=
9
,
8
#endif
9
#ifdef CUST_VIBR_VOL
10
.
vib_vol
=
0x5
,
//2.8V for vibr
11
#endif
12
};
13
14
struct
vibrator_hw
*
get_cust_vibrator_hw
(
void
)
15
{
16
return
&
cust_vibrator_hw
;
17
}
18