[PATCH] iio: light: stk3310: Deal with the ps interrupt issue in PM
From: Miao Li
Date: Wed Apr 29 2026 - 02:47:01 EST
> On the Inspur HS326 laptop(which integrated with HiSilicon M900
> processor), if the STK3311-X chip's PS interrupt is configured
> in "Recommended interrupt mode", the interrupt cannot be triggered
> normally after waking from suspend or hibernation.
>
> In this case, neither disabling and re-enabling the interrupt nor
> resetting the PS threshold register can restore the interrupt to
> normal operation.
>
> If the interrupt is disabled in suspend() then reset the PS threshold
> register and enable the interrupt in resume(). This resolves the issue.
Hi, Jonathan
I'm sorry that I forgot to add 'v2' to this patch title,
sending it again with 'v2' added to the subject.
Best regard