pm: skip min_residency_ticks calculation if input is 0
In the default PM policy, the function k_us_to_ticks_ceil32() is used
and does calculation using 64-bit integers which can be slow and
avoidable if the input is 0.
Signed-off-by:
Bastien Beauchamp <bastien.beauchamp@silabs.com>
Loading
Please sign in to comment