mei: add pci driver ops shutdown handler.
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 20 Mar 2017 13:04:02 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:38:25 +0000 (17:38 +0200)
commit5c4c0106e944930315ad3ea8d77043bed13222eb
tree05813a79cdf6ae436afc5365db447ce6c5500c84
parentf580ff0e404e5aad83f02093cd22f2475cad6e71
mei: add pci driver ops shutdown handler.

The shutdown handler quiesces the device, it performs link reset in
order to close all connections and notify the device that is not longer
managed by the driver.
This is essentially a stripped down version of the PCI remove() function
where only the necessary amount of work is done to stop any further
activity.

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