]> git.baikalelectronics.ru Git - kernel.git/commit
mei: move write cb to completion on credentials failures
authorAlexander Usyskin <alexander.usyskin@intel.com>
Wed, 14 Dec 2016 15:56:52 +0000 (17:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jan 2017 17:22:44 +0000 (18:22 +0100)
commit6b353d82e96dd8f8310e1dfcb8e99f258f4523e1
tree580aa5b27803e95e08bdf7acebe4fedbd0f5b623
parentf9097fef4d317ac99194be420b9e1ff2c6db6af0
mei: move write cb to completion on credentials failures

The credentials handling was pushed to the write handlers
but error handling wasn't done properly.
Move write callbacks to completion queue to destroy them
and to notify a blocked writer about the failure

Fixes: ff2fbd5eac02b (mei: push credentials inside the irq write handler)
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/client.c