On Wed, Apr 23, 2025 at 09:52:43AM -0400, Hugo Villeneuve 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 Signed-off-by: Mikael Gonella-Bolduc mgonellabolduc@dimonoff.com
Applied, thank you.