Skip to content
Commit 6cb1ff65 authored by Mahesh Mahadevan's avatar Mahesh Mahadevan Committed by Carles Cufí
Browse files

pm: Move settting timeout to after suspending devices



pm_suspend_devices() could return an error. Set timeout using
sys_clock_set_timeout() to after this error is handled so that
we have the accurate power state when calling the timeout function.
This is useful in cases where we wish to compensate the
system timer for certain power modes.

Signed-off-by: default avatarMahesh Mahadevan <mahesh.mahadevan@nxp.com>
parent f70929a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment