msm: mhi: Reset the pending packets counter in UCI
Reset the pending packets counter in UCI when a client releases the character device node. Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Change-Id: Ic3d83873ae207e76acbb9f60683b43cb30ff7c5b
This commit is contained in:
parent
9de41649cc
commit
24d7f8a8d6
1 changed files with 1 additions and 0 deletions
|
@ -655,6 +655,7 @@ static int mhi_uci_client_release(struct inode *mhi_inode,
|
|||
uci_handle->in_buf_list[i]));
|
||||
}
|
||||
}
|
||||
atomic_set(&uci_handle->avail_pkts, 0);
|
||||
} else {
|
||||
uci_log(UCI_DBG_ERROR,
|
||||
"Client close chan %d, ref count 0x%x\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue