Skip to content
Commit 64b4055c authored by Naresh Malladi's avatar Naresh Malladi Committed by Maulik Shah
Browse files

drivers: cpuidle: lpm-levels: Check for negative sleep times



A negative sleep time could be interpreted as a large positive
sleep time when its casted to a unsigned type. This could result
in CPU sleeping for a longer than expected duration resulting in
missed interrupts.

Change-Id: I472f355c8ba392ab46d53fceddb448f7e35c178e
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
Signed-off-by: default avatarNaresh Malladi <namall@codeaurora.org>
parent c619a7c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment