mei: allow clients on bus to communicate in remove callback
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sat, 6 Feb 2021 14:43:21 +0000 (16:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Feb 2021 14:48:11 +0000 (15:48 +0100)
commit36edb1407c3c042240b5dbc2530d6e7119535baa
tree62820903eddf4b8cfedc8b86a5c1abf523a5a098
parent37f1cda4381f0e47ffb8365bc032ccc03bfc8b89
mei: allow clients on bus to communicate in remove callback

Introduce new intermediate state to allow the clients on the bus
to communicate with the firmware from the remove handler.
This is to enable to perform a clean shutdown.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20210206144325.25682-2-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c
drivers/misc/mei/client.c
drivers/misc/mei/init.c
drivers/misc/mei/mei_dev.h