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

Skip to content
Commit 16ad520f authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian Committed by Stephen Boyd
Browse files

msm: rpm-smd: Fix error codes returned by msm_rpm_wait_for_ack



Fix msm_rpm_wait_for_ack API to return a -ENOMEM when a message id 0 is
passed in. The patch also reserves the message id 1 for cases when the
send message doesn't send duplicate data. This ensures that wait for ack
doesn't return a error code for this scenario.

Change-Id: I632e5d2d4e2c017d981bd5bf52d04b2422c81fc4
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
parent 2fabb2b9
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