]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mei: speed up the power down flow
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 12 Dec 2017 11:27:06 +0000 (13:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2017 13:10:47 +0000 (14:10 +0100)
commit8d52af6795c0480a20272159103976a893603fde
tree90d5c6b664176a0b7e382ddf015009be2dc23551
parent2fc10246766fce0b560f015e1c0b6ff29fb4ced0
mei: speed up the power down flow

When mei driver is powering down due to suspend or shutdown
it will iterate over the mei client bus and disconnect
each client device attached in turn.
The power down flow consist of the link rest, which causes all clients
get disconnected at once, hence the individual disconnection
can be omitted and significantly reduce power down flow.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c
drivers/misc/mei/hw-me.c
drivers/misc/mei/hw-txe.c
drivers/misc/mei/init.c