mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
aw8697: Use RAM mode for long vibration
Configure long vibration to use RAM mode instead of CONT mode. Change-Id: Ife3c08ce775d12796e6435ce8a95d7d7a3448410 Signed-off-by: awhite6 <awhite6@motorola.com> Reviewed-on: https://gerrit.mot.com/1471982 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Konstantin Makariev <kmakariev@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
fd2ce9474b
commit
b626f7e340
1 changed files with 1 additions and 0 deletions
|
|
@ -2467,6 +2467,7 @@ static void aw8697_vibrate(struct aw8697 *aw8697, int value)
|
|||
break;
|
||||
case HAPTIC_LONG:
|
||||
aw8697->duration = value;
|
||||
aw8697->activate_mode = AW8697_HAPTIC_ACTIVATE_RAM_MODE;
|
||||
/* wav index config */
|
||||
aw8697->index = 0x02;
|
||||
aw8697_haptic_set_repeat_wav_seq(aw8697, aw8697->index);
|
||||
|
|
|
|||
Loading…
Reference in a new issue