diff options
author | 2025-04-23 09:52:43 -0400 | |
---|---|---|
committer | 2025-04-28 12:15:53 -0700 | |
commit | 7675b5efd81fe6d524e29d5a541f43201e98afa8 (patch) | |
tree | 1e43222eea804043a78a1e6d444f96261da85f21 /scripts/lib/kdoc/kdoc_output.py | |
parent | MAINTAINERS: .mailmap: update Mattijs Korpershoek's email address (diff) | |
download | linux-rng-7675b5efd81fe6d524e29d5a541f43201e98afa8.tar.xz linux-rng-7675b5efd81fe6d524e29d5a541f43201e98afa8.zip |
Input: cyttsp5 - fix power control issue on wakeup
The power control function ignores the "on" argument when setting the
report ID, and thus is always sending HID_POWER_SLEEP. This causes a
problem when trying to wakeup.
Fix by sending the state variable, which contains the proper HID_POWER_ON or
HID_POWER_SLEEP based on the "on" argument.
Fixes: 3c98b8dbdced ("Input: cyttsp5 - implement proper sleep and wakeup procedures")
Cc: stable@vger.kernel.org
Signed-off-by: Mikael Gonella-Bolduc <mgonellabolduc@dimonoff.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20250423135243.1261460-1-hugo@hugovil.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions