diff options
author | Werner Sembach <wse@tuxedocomputers.com> | 2025-02-11 14:39:05 +0100 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2025-05-13 15:59:03 +0200 |
commit | a98e892c694284256296465a78d11072e2c5419f (patch) | |
tree | 4cb41198bdac5684f34eee1140bed9219378c4e8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a058002358b7aaf14674b2a0daa5194bfa5720a1 (diff) |
HID: core: Add functions for HID drivers to react on first open and last close call
Adds a new function to the hid_driver struct that is called when the
userspace starts using the device, and another one that is called when
userspace stop using the device. With this a hid driver can implement
special suspend handling for devices currently not in use.
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Link: https://patch.msgid.link/20250211133950.422232-1-wse@tuxedocomputers.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions