mei: make device disabled on stop unconditionally
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 10 Feb 2015 08:36:36 +0000 (10:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 03:34:50 +0000 (19:34 -0800)
commit6c15a8516b8118eb19a59fd0bd22df41b9101c32
treea025fb7ee0316150f02ee5cb36186dfe9ca1e08d
parentf4c72c70308897bd26f2918979d06b429916fd0e
mei: make device disabled on stop unconditionally

Set the internal device state to to disabled after hardware reset in stop flow.
This will cover cases when driver was not brought to disabled state because of
an error and in stop flow we wish not to retry the reset.

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/init.c