commit | 7ef2aadfe25e756b855861b81a9f21d324a59585 | [log] [tgz] |
---|---|---|
author | Mahesh Sivasubramanian <msivasub@codeaurora.org> | Mon Jul 30 13:52:31 2012 -0600 |
committer | Linux Build Service Account <lnxbuild@localhost> | Sat Aug 25 16:44:32 2012 -0600 |
tree | 69978115f0db42ff8ccc3604d13a20d9009c46ce | |
parent | 0c5f1a029ae1d9405a14c0a190db0ab63264cd54 [diff] |
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: Mahesh Sivasubramanian <msivasub@codeaurora.org>