]> git.karo-electronics.de Git - linux-beck.git/commit
rpmsg: qcom_smd: Correct return value for O_NONBLOCK
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 2 Dec 2016 00:59:55 +0000 (16:59 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 8 Dec 2016 15:58:05 +0000 (07:58 -0800)
commit1d74e7ed5dc1903ac081574a9b6aa94e7ba4ad45
treec6eeb89992888fa27682b0b83cdad144b3ee3f12
parent2c8a57088045a58958372d405586c16e3e12f4e1
rpmsg: qcom_smd: Correct return value for O_NONBLOCK

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>
drivers/rpmsg/qcom_smd.c