diff options
author | Dario Binacchi <[email protected]> | 2023-04-02 21:36:46 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2023-04-02 21:38:05 -0700 |
commit | 0df28e7166e803028c380c59dda530ffada0503c (patch) | |
tree | bb9b8f6abd437a3d63c2869fcc044a07da084715 /lib/mpi/mpi-sub-ui.c | |
parent | 079e60a53c25aeb1920e783fa7f7390eabb6afc0 (diff) |
Input: edt-ft5x06 - calculate points data length only once
It is pointless and expensive to calculate data in the interrupt that
depends on the type of touchscreen, which is detected on the driver
probe and cannot then be changed.
So calculate the size of the data buffer on the driver probe, as well as
the data retrieval command, and then use them in the ISR.
Signed-off-by: Dario Binacchi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions