diff options
| author | Miao Li <limiao@kylinos.cn> | 2026-05-04 11:04:06 +0800 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 10:59:33 +0100 |
| commit | 9c1d639e90cf42f5c1401f91f38ffd89af6dd970 (patch) | |
| tree | dcf1a707d4780ff218cc380e10c41b4e734b9865 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 11aa529f27c7c8656ab57a6d79111b2e525f7b19 (diff) | |
iio: light: stk3310: Deal with the ps interrupt issue in PM
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.
Signed-off-by: Miao Li <limiao@kylinos.cn>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
