]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:53:00 +0000 (14:53 -0800)
commit986718d9083d3e866c27dadd91b3717f9b0abe3e
treefddd8505d7a410c9ea1f061c47a36cf253c6ba8e
parentc27fd6eed46e431ddb26fa4f3d2ec5f31649fb30
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