]> git.ipfire.org Git - people/ms/linux.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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 12 Mar 2015 16:31:10 +0000 (17:31 +0100)
commit8607e6ba3f48a3bab9476c5afd2e3913387eadd7
tree31b6c76afd0779b65cd0e7cddf9320f338799a63
parent182830fede67ba3d9f6d52f68dca839bb2118b32
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: Jiri Slaby <jslaby@suse.cz>
drivers/misc/mei/init.c