diff options
author | Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com> | 2025-02-11 15:35:08 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-02-11 23:15:32 +0100 |
commit | 1f650dcec32d22deb1d6db12300a2b98483099a9 (patch) | |
tree | 50a889c9f6bb1c8465a3ae5368d00d37a6ef957c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2c2afb50b50f10818f5b0bebed66ea1d5e1293a6 (diff) |
HID: pidff: Make sure to fetch pool before checking SIMULTANEOUS_MAX
As noted by Anssi some 20 years ago, pool report is sometimes messed up.
This worked fine on many devices but casued oops on VRS DirectForce PRO.
Here, we're making sure pool report is refetched before trying to access
any of it's fields. While loop was replaced with a for loop + exit
conditions were moved aroud to decrease the possibility of creating an
infinite loop scenario.
Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions