Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 17a5aa0f authored by Lina Iyer's avatar Lina Iyer
Browse files

drivers: qcom: rpmh: check for invalid sleep/wake values



Sleep/Wake values when unitialized will be set to UINT_MAX. Such
requests are not sent to the TCS when flushed, they are ignored. Fix
typo in checking for INT_MAX instead of UINT_MAX.

Also, if the sleep and wake requests are the same skip writing them to
the TCS.

Change-Id: I966d856b6cdb15d271de0b93f0bbb52a98e4951f
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent bed4cbb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment