commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=35fb530c4780f913e4ea38080df924fe01fdb6b5 branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk
Signed-off-by: Steven Miao <[email protected]> --- drivers/staging/icc/core/protocol.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/staging/icc/core/protocol.c b/drivers/staging/icc/core/protocol.c index dae162f..0d29b5b 100644 --- a/drivers/staging/icc/core/protocol.c +++ b/drivers/staging/icc/core/protocol.c @@ -1020,6 +1020,13 @@ static int msg_recv_internal(struct sm_msg *msg, struct sm_session *session) message->dst = cpu; message->src = "" ^ 1; + if ((SM_MSG_PROTOCOL(msg->type) == SP_SCALAR)) + sm_send_scalar_ack(session, msg->src_ep, message->src, + msg->payload, msg->length); + else if ((SM_MSG_PROTOCOL(msg->type) == SP_SESSION_SCALAR)) + sm_send_session_scalar_ack(session, msg->src_ep, message->src, + msg->payload, msg->length); + if (session->handle) { session->handle(message, session); return 0;
_______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
