diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-12-14 18:56:52 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2017-03-16 05:26:49 +0300 |
commit | abf35ecb24ad917de55f75c715c0e5ed5e6a6069 (patch) | |
tree | 8f60f007d9a650e04ce11ee249bcb2bbac8b65b4 /drivers/misc/genwqe | |
parent | bb38d5776b88cc49b2b57356d6f16ca9e7853cc7 (diff) | |
download | linux-abf35ecb24ad917de55f75c715c0e5ed5e6a6069.tar.xz |
mei: move write cb to completion on credentials failures
commit e09ee853c92011860a4bd2fbdf6126f60fc16bd3 upstream.
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: 136698e535cd1 (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>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/misc/genwqe')
0 files changed, 0 insertions, 0 deletions