]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Wed, 18 Mar 2015 13:10:59 +0000 (14:10 +0100)
commitd2c34feb23e605beeca80ce1780ac5b6614838e7
tree974d26304dbefc39a64924c952341b4275b066c8
parent75552ee54adb3f21719afd4e335b23a8a39b68b5
mei: make device disabled on stop unconditionally

commit 6c15a8516b8118eb19a59fd0bd22df41b9101c32 upstream.

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.

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