mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
mei: remove check on pm_runtime_active in __mei_cl_disconnect
Remove bogus check on pm_runtime_active that prevented
disconnection from a client in case the device was resuming
from power gating but not yet active.
Fix regression introduced by
18901357e7
mei: disconnect on connection request timeout
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
155718cfd1
commit
eead035a35
1 changed files with 0 additions and 3 deletions
|
@ -853,9 +853,6 @@ static int __mei_cl_disconnect(struct mei_cl *cl)
|
|||
|
||||
dev = cl->dev;
|
||||
|
||||
if (WARN_ON(!pm_runtime_active(dev->dev)))
|
||||
return -EFAULT;
|
||||
|
||||
cl->state = MEI_FILE_DISCONNECTING;
|
||||
|
||||
cb = mei_io_cb_init(cl, MEI_FOP_DISCONNECT, NULL);
|
||||
|
|
Loading…
Reference in a new issue