commit | 17df3e74fb5174bc9fc078fd640dc3b2762f0ca1 | [log] [tgz] |
---|---|---|
author | Bjorn Andersson <bjorn.andersson@linaro.org> | Thu Dec 01 16:59:55 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 12 11:39:31 2017 +0100 |
tree | 04db33f553c478df2134aa1d887049517a92164b | |
parent | 1d8286ccbcc6f2f5abca386430825e4c3983edc7 [diff] |
rpmsg: qcom_smd: Correct return value for O_NONBLOCK commit 1d74e7ed5dc1903ac081574a9b6aa94e7ba4ad45 upstream. qcom_smd_send() should return -EAGAIN for non-blocking channels with insufficient space, so that we can propagate this event to user space. Fixes: 53e2822e56c7 ("rpmsg: Introduce Qualcomm SMD backend") Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>