mei: remove check on pm_runtime_active in __mei_cl_disconnect
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 4 Aug 2015 11:30:11 +0000 (14:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 04:58:47 +0000 (21:58 -0700)
commiteead035a35b59df9f956139cb2c73141751a246e
tree78dcb85a38f7245381b2d57eb5723208f4e8b559
parent155718cfd1dd1a92b7dbf84db41fe15f6b219cc0
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
18901357e70ae29e3fd1c58712a6847c2ae52eae
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>
drivers/misc/mei/client.c