]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6d54384f17ed8a8599457a8435e209f6d081d64
tree62820903eddf4b8cfedc8b86a5c1abf523a5a098
parentc0c316eaa490cf19ad95d6033481c6069a22debe
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