mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02: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
368406daae
commit
75cf6e2792
|
|
@ -1688,7 +1688,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 New Issue
Block a user