On Tue, Apr 22, 2025 at 02:50:26PM -0400, Hugo Villeneuve wrote:
On Tue, 22 Apr 2025 14:43:24 -0400 Hugo Villeneuve hugo@hugovil.com wrote:
From: Mikael Gonella-Bolduc mgonellabolduc@dimonoff.com
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: Hugo Villeneuve hvilleneuve@dimonoff.com
I inadvertently removed Mikael SOB tag, I can re-add it if a V2 is needed.
You can't remove it, please add it back.