diff options
| author | Rosalie Wanders <rosalie@mailbox.org> | 2026-06-16 22:50:40 +0200 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-06-29 11:11:21 +0200 |
| commit | 5acb364eddbb633bb6f18ce64bff31714480174d (patch) | |
| tree | 7c6614cf2e9a884406f378e983dfd75de72d8fbe /tools/perf/scripts/python/flamegraph.py | |
| parent | b7556c8e713c88596046a906c7c4385218d44736 (diff) | |
HID: sony: use dedicated raw_event() handlers in sony_raw_event()
This commit changes the way sony_raw_event() works by adding a function
pointer to a raw_event() handler in the sc struct instead of manually
checking the quirk in order to call the right function, this simplifies
the sony_raw_event() function alongside making the raw_event() handlers
more self-contained, thus making the code more readable.
The raw_event() handler should be configured using the new
sony_init_raw_event_handler() function in sony_input_configured(), where
we already check for quirks and apply device specific workarounds.
Signed-off-by: Rosalie Wanders <rosalie@mailbox.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
