Loading drivers/rpmsg/qcom_smd.c +11 −4 Original line number Diff line number Diff line Loading @@ -662,6 +662,7 @@ static int qcom_smd_channel_recv_single(struct qcom_smd_channel *channel) len = channel->pkt_size; } if (ept->cb) { ret = ept->cb(ept->rpdev, ptr, len, ept->priv, RPMSG_ADDR_ANY); if (ret < 0) { smd_ipc(channel->edge->ipc, false, NULL, Loading @@ -669,6 +670,12 @@ static int qcom_smd_channel_recv_single(struct qcom_smd_channel *channel) channel->name); return ret; } } else { smd_ipc(channel->edge->ipc, false, NULL, "%s: Callback not available on channel: %s\n", __func__, channel->name); return -EAGAIN; } /* Only forward the tail if the client consumed the data */ qcom_smd_channel_advance(channel, len); Loading Loading
drivers/rpmsg/qcom_smd.c +11 −4 Original line number Diff line number Diff line Loading @@ -662,6 +662,7 @@ static int qcom_smd_channel_recv_single(struct qcom_smd_channel *channel) len = channel->pkt_size; } if (ept->cb) { ret = ept->cb(ept->rpdev, ptr, len, ept->priv, RPMSG_ADDR_ANY); if (ret < 0) { smd_ipc(channel->edge->ipc, false, NULL, Loading @@ -669,6 +670,12 @@ static int qcom_smd_channel_recv_single(struct qcom_smd_channel *channel) channel->name); return ret; } } else { smd_ipc(channel->edge->ipc, false, NULL, "%s: Callback not available on channel: %s\n", __func__, channel->name); return -EAGAIN; } /* Only forward the tail if the client consumed the data */ qcom_smd_channel_advance(channel, len); Loading