soc: qcom: avoid channel open during LOCAL_DISCONNECT state
Glink channel state LOCAL_DISCONNECT occurs only when remote side channel is closed or device node closed from userspace. In this case, glink LINK itself is not available to open channel. So avoid opening glink channels during LOCAL_DISCONNECT state. Change-Id: I637622d7bfd0cd1d0aa5b905173a7674093674c4 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
This commit is contained in:
parent
2be8fc81c3
commit
a1ccb4d410
1 changed files with 0 additions and 3 deletions
|
@ -318,9 +318,6 @@ static void wdsp_glink_notify_state(void *handle, const void *priv,
|
|||
if (ch->free_mem) {
|
||||
kfree(ch);
|
||||
ch = NULL;
|
||||
} else {
|
||||
/* Open the glink channel again */
|
||||
queue_work(wpriv->work_queue, &ch->lcl_ch_open_wrk);
|
||||
}
|
||||
} else if (event == GLINK_REMOTE_DISCONNECTED) {
|
||||
dev_dbg(wpriv->dev, "%s: remote channel: %s disconnected remotely\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue