Commit 7ef2aadf authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian Committed by Linux Build Service Account
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 0c5f1a02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment