]> git.baikalelectronics.ru Git - kernel.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>
Mon, 2 Mar 2015 03:34:50 +0000 (19:34 -0800)
commitb361038911d776bba8457dbed3c9747945971804
treea025fb7ee0316150f02ee5cb36186dfe9ca1e08d
parentf3d96b5eeee99e7987261e8aa18a9d7767c324d2
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