summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/regulator-haptic.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2021-11-10 07:17:49 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-11-10 07:23:02 +0100
commit27931d38ce057f36e68bc68cd4bf4ba24bbb9c57 (patch)
tree16c1af442a48c15ef6a17f1d7a73d77f863061f3 /drivers/input/misc/regulator-haptic.c
parentInput: ili210x - improve polled sample spacing (diff)
downloadlinux-27931d38ce057f36e68bc68cd4bf4ba24bbb9c57.tar.xz
linux-27931d38ce057f36e68bc68cd4bf4ba24bbb9c57.zip
Input: ili210x - reduce sample period to 15ms
Modern devices may redraw display at 60 Hz, make sure we have one input sample per one frame. Reduce sample period to 15ms, so we would get up to 66.6 samples per second, although realistically with all the jitter and extra scheduling wiggle room, we would end up just above 60 samples per second. This should be a good compromise between sampling too often and sampling too seldom. Signed-off-by: Marek Vasut <marex@denx.de> Link: https://lore.kernel.org/r/20211108114145.84118-1-marex@denx.de Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/regulator-haptic.c')
0 files changed, 0 insertions, 0 deletions