mei: me: release hw from reset only during the reset flow
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sun, 25 Jan 2015 21:45:28 +0000 (23:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:57:33 +0000 (14:57 -0800)
commit4cc39e7034f2654c33f75b5e4794e41c568214ec
tree9e1983b0120cd61698fd99553d685da374d4d8b5
parent6766138fa1a1c4142a5242c2bd4226b72e086c54
mei: me: release hw from reset only during the reset flow

commit 663b7ee9517eec6deea9a48c7a1392a9a34f7809 upstream.

We might enter the interrupt handler with hw_ready already set,
but prior we actually started the reset flow.
To soleve this we move the reset release from the interrupt handler
to the HW start wait function which is part of the reset sequence.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hw-me.c