linux/drivers/misc/mei
Alexander Usyskin abf35ecb24 mei: move write cb to completion on credentials failures
commit e09ee853c9 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: 136698e535 (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>
History 2017-03-16 02:26:49 +00:00
..
amthif.c mei: fix format string in debug prints 2016-05-01 00:05:49 +02:00
bus.c mei: bus: fix possible boundaries violation 2014-10-30 09:40:13 -07:00
client.c mei: move write cb to completion on credentials failures 2017-03-16 02:26:49 +00:00
client.h mei: client.h fix checkpatch errors 2014-03-17 15:57:43 -07:00
debugfs.c mei: export active connections to debugfs 2014-02-07 15:09:35 -08:00
hbm.c mei: fix memory leak of mei_clients array 2014-05-27 14:15:25 -07:00
hbm.h mei: fix memory leak of mei_clients array 2014-05-27 14:15:25 -07:00
hw-me-regs.h mei: me: introduce power gating registers 2014-05-03 19:20:23 -04:00
hw-me.c mei: me: release hw from reset only during the reset flow 2015-03-02 13:17:06 +00:00
hw-me.h mei: me: move probe quirk to cfg structure 2014-05-27 14:16:38 -07:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: txe: don't clean an unprocessed interrupt cause. 2017-02-23 03:54:20 +00:00
hw-txe.h mei: add per device configuration 2014-05-27 14:16:38 -07:00
hw.h mei: me: bump hbm version to 1.1 to support power gating 2014-05-03 19:20:25 -04:00
init.c mei: make device disabled on stop unconditionally 2015-03-18 15:06:06 +00:00
interrupt.c mei: fix format string in debug prints 2016-05-01 00:05:49 +02:00
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
main.c mei: fix format string in debug prints 2016-05-01 00:05:49 +02:00
Makefile mei: txe: add Kbuild for TXE device 2014-02-07 15:08:46 -08:00
mei_dev.h mei: fix possible integer overflow issue 2016-05-01 00:05:49 +02:00
nfc.c mei: bus: fix received data size check in NFC fixup 2017-02-23 03:54:26 +00:00
pci-me.c mei: don't schedule suspend in pm idle 2014-09-05 16:36:27 -07:00
pci-txe.c mei: don't schedule suspend in pm idle 2014-09-05 16:36:27 -07:00
wd.c mei: set connecting state just upon connection request is sent to the fw 2014-05-03 19:21:56 -04:00