OSDN Git Service

soc: qcom: glink: Fix channel migration on fully open channel
authorDhoat Harpal <hdhoat@codeaurora.org>
Mon, 18 Apr 2016 15:31:02 +0000 (21:01 +0530)
committerJeevan Shriram <jshriram@codeaurora.org>
Fri, 6 May 2016 19:06:26 +0000 (12:06 -0700)
commit9763e34fbcc85ea0e98ab838d89dffdbbc40fe80
tree614f817962ae7ad43a71a545747233abbb0cd827
parent629e9ceeb79986542c83d6b7a7670f7ff9fff549
soc: qcom: glink: Fix channel migration on fully open channel

If process_open_event is delayed and glink has migrated to new transport,
process open event will be treated as a new open event and migration will
happen on fully open channel.

If channel is fully, open migration will not be allowed as client might
already be using the channel for communication.

Change-Id: I6c1760bc19f52e7d0c1c9834a72e2304f0ae28c8
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
drivers/soc/qcom/glink.c