diff options
author | Tomasz PakuĊa <tomasz.pakula.oficjalny@gmail.com> | 2025-02-26 01:30:04 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-03-04 23:42:44 +0300 |
commit | e2fa0bdf08a70623f24ed52f2037a330999d9800 (patch) | |
tree | d6de4e4144a4201fd88ddc44a8c02a6b455100cc /tools/perf/scripts/python/task-analyzer.py | |
parent | f98ecedbeca34a8df1460c3a03cce32639c99a9d (diff) | |
download | linux-e2fa0bdf08a70623f24ed52f2037a330999d9800.tar.xz |
HID: pidff: Fix set_device_control()
As the search for Device Control report is permissive, make sure the
desired field was actually found, before trying to set it.
Fix bitmask clearing as it was erronously using index instead of
index - 1 (HID arrays index is 1-based).
Add last two missing Device Control usages to the defined array.
PID_PAUSE and PID_CONTINUE.
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions