diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-07-13 22:39:37 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-08-02 18:29:01 -0700 |
| commit | 116087d9db1502de054fb0453fdb002c0562019d (patch) | |
| tree | 19f5a9719e6807b24df8d1fa070e43830c429633 /tools/perf/scripts/python | |
| parent | 337e5910dcbc38a656e446a6c8a7b37bd496f476 (diff) | |
Input: samsung-keypad - clean up wakeup configuration logic
When checking if the device can wake the system, we should pull the
device_may_wakeup() check to the caller instead of repeating it inside
the toggle_wakeup() handler. Furthermore, when configuring the wakeup,
we should safely ensure we write to the registers in the correct order:
configure the interrupt receiver before enabling the peripheral's wake
functionality, and vice-versa.
Assisted-by: Antigravity:gemini-3.1-pro
Link: https://patch.msgid.link/20260713-samsung-kp-irq-v2-1-acc84b6daf9a@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
