Re: [PATCH] soc: qcom: aoss: Fix the prevent_aoss_sleep message

From: Konrad Dybcio

Date: Tue Dec 01 2026 - 06:57:02 EST


On 12/1/26 12:36 PM, Birk Skyum via B4 Relay wrote:
> From: Birk Skyum <birk.skyum@xxxxx>
>
> The AOP keeps the AOSS out of sleep on {class: aoss_slp, res: sleep,
> val: disable}. The prevent_aoss_sleep debugfs entry sends "res: sleep:
> %s" without the val key, and maps Y, which asks to prevent sleep, to
> "enable".
>
> On a Samsung Galaxy Book4 Edge 14 (X1E-80-100), writing either Y or N
> to the entry left the AOSD residency at 97 to 98 % of a suspend, while
> the message above kept it at 0. Send that message, with "disable" for
> Y and "enable" for N.
>
> Fixes: d51d984c5525 ("soc: qcom: aoss: Add debugfs interface for sending messages")
> Link: https://github.com/omacom/omarchy/discussions/15860#discussioncomment-19640176
> Signed-off-by: Birk Skyum <birk.skyum@xxxxx>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad