diff options
author | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2023-04-03 07:36:46 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-04-03 07:38:05 +0300 |
commit | 0df28e7166e803028c380c59dda530ffada0503c (patch) | |
tree | bb9b8f6abd437a3d63c2869fcc044a07da084715 /tools/perf/scripts/python/stackcollapse.py | |
parent | 079e60a53c25aeb1920e783fa7f7390eabb6afc0 (diff) | |
download | linux-0df28e7166e803028c380c59dda530ffada0503c.tar.xz |
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 <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20230402200951.1032513-10-dario.binacchi@amarulasolutions.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions