mei: clean reset bit before reset
authorAlexander Usyskin <alexander.usyskin@intel.com>
Wed, 24 Dec 2014 22:37:46 +0000 (00:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:53:13 +0000 (14:53 -0800)
commitb13a65ef190e488e2761d65bdd2e1fe8a3a125f5
treef9fa8f9375c5f422089ce5e21f3c1b590da1e1b6
parentb7392d2247cfe6771f95d256374f1a8e6a6f48d6
mei: clean reset bit before reset

H_RST bit in H_CSR register may be found lit before reset is started,
for example if preceding reset flow hasn't completed.
In that case asserting H_RST will be ignored, therefore we need to clean
H_RST bit to start a successful reset sequence.

Cc: <stable@vger.kernel.org> #3.10+
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