mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mei: start disconnect request timer consistently
Link must be reset in case the fw doesn't respond to client disconnect request. We did charge the timer only in irq path from mei_cl_irq_close and not in mei_cl_disconnect Cc: [email protected] # 3.10+ Signed-off-by: Alexander Usyskin <[email protected]> Signed-off-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
3e37ebb718
commit
22b987a325
1 changed files with 1 additions and 0 deletions
|
|
@ -491,6 +491,7 @@ int mei_cl_disconnect(struct mei_cl *cl)
|
|||
cl_err(dev, cl, "failed to disconnect.\n");
|
||||
goto free;
|
||||
}
|
||||
cl->timer_count = MEI_CONNECT_TIMEOUT;
|
||||
mdelay(10); /* Wait for hardware disconnection ready */
|
||||
list_add_tail(&cb->list, &dev->ctrl_rd_list.list);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue