Skip to content
Commit a98e892c authored by Werner Sembach's avatar Werner Sembach Committed by Benjamin Tissoires
Browse files

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: default avatarWerner Sembach <wse@tuxedocomputers.com>
Link: https://patch.msgid.link/20250211133950.422232-1-wse@tuxedocomputers.com


Signed-off-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
parent a0580023
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment