mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
input: misc: qcom-hv-haptics: disable auto resonance for FIFO streaming
Auto resonance needs to be disabled for FIFO streaming mode. Hence disable it when playing custom FIFO data. Change-Id: I11bb2e944bebf642b780b964bdea7907cae3c843 Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
This commit is contained in:
parent
033055067a
commit
d1b5bc1dcf
1 changed files with 1 additions and 1 deletions
|
|
@ -1668,7 +1668,7 @@ static int haptics_init_custom_effect(struct haptics_chip *chip)
|
|||
chip->custom_effect->vmax_mv = chip->config.vmax_mv;
|
||||
chip->custom_effect->t_lra_us = chip->config.t_lra_us;
|
||||
chip->custom_effect->src = FIFO;
|
||||
chip->custom_effect->auto_res_disable = false;
|
||||
chip->custom_effect->auto_res_disable = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue