mei: hbm: drop hbm responses on shutdown
authorAlexander Usyskin <alexander.usyskin@intel.com>
Fri, 29 Jan 2021 12:07:49 +0000 (14:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jan 2021 15:59:11 +0000 (16:59 +0100)
commitda3eb47c90d4f951b83573d7203c40c0888521e5
tree852ec59e6ba7741719b6a2442ba79c35747a346b
parent3a77df62deb2e62de0dc26c1cb763cc152329287
mei: hbm: drop hbm responses on shutdown

Ignore and drop HBM responses from init phase in shutdown phase.
Fixes stall if driver starting to stop in the middle of link init.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20210129120752.850325-4-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hbm.c