mei: synchronize irq before initiating a reset.
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 4 Dec 2016 13:22:58 +0000 (15:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Dec 2016 10:03:22 +0000 (11:03 +0100)
commit4a8efd4a1a9593a11c808da94e6609f6d4ee7276
treeeab8e4f71db36b5d70e480f09d1e90acf6119a27
parent8d7cc7adcec55bfeb28cc2dc58b996c95f180337
mei: synchronize irq before initiating a reset.

We need to synchronize irqs before issuing reset to make sure that the
clients communication is concluded and doesn't leak to the reset flow
and confusing the state machine.

This issue is happening during suspend/resume stress testing.

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