summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorArie Miller <renari@arimil.com>2026-09-03 22:21:29 -0400
committerGuenter Roeck <linux@roeck-us.net>2026-09-09 18:16:35 -0700
commit06d48355bf41028c1321acda6a4391cd70098be8 (patch)
treefcdb55a76028b2d6bc7bbee9b5d3920338f48f81 /scripts/basic/split-include.c
parent8042312e73c50de82634ce63eae7cf219464b481 (diff)
downloadlinux-06d48355bf41028c1321acda6a4391cd70098be8.tar.gz
linux-06d48355bf41028c1321acda6a4391cd70098be8.zip
hwmon: (asus_rog_ryujin) Synchronize HID command and report handling
rog_ryujin_execute_cmd() holds status_report_request_lock while reinitializing a completion, intending to exclude raw-event handling. However, rog_ryujin_raw_event() does not acquire the lock when it updates the completion. A response can therefore race with reinit_completion() and be lost, leaving the command to time out. Hold the lock while parsing reports and updating their completions. Use the irqsave variants in both paths because raw-event handling may run in interrupt context. Fixes: ed3e03790c5c ("hwmon: Add driver for ASUS ROG RYUJIN II 360 AIO cooler") Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://lore.kernel.org/linux-hwmon/20260812104617.858D01F000E9@smtp.kernel.org/ Cc: stable@vger.kernel.org Assisted-by: Codex:gpt-5.6-sol sparse Signed-off-by: Arie Miller <renari@arimil.com> Link: https://patch.msgid.link/20260904022129.97896-3-renari@arimil.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions