mei: me: fix hw ready reset flow
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 12 May 2014 09:19:39 +0000 (12:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jul 2014 01:54:15 +0000 (18:54 -0700)
commitd285df86a113f160ed1b48f2c63056a3d6c2219f
tree68f9e5df1f71db19b8c6964333e9d6f583093f96
parent83a03fda3d14ba6c097f0f4cdd86a8b9d9ed633a
mei: me: fix hw ready reset flow

commit b04ada92ffaabb868497a1fce8e4f6bf74e5488f upstream.

We cleared H_RST for H_CSR on spurious interrupt generated when ME_RDY
while cleared and not while  ME_RDY is set. The spurious interrupt
is not delivered on all platforms in this case the
driver may fail to initialize.

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