linux/drivers/misc/mei
Tomas Winkler 4f273959b8 mei: nfc: fix deadlock on shutdown/suspend path
In function mei_nfc_host_exit mei_cl_remove_device cannot be called
under the device mutex as device removing flow invokes the device driver
remove handler that calls in turn to mei_cl_disable_device which
naturally acquires the device mutex.

Also remove mei_cl_bus_remove_devices which has the same issue, but is
never executed as currently the only device on the mei client bus is NFC
and a new device cannot be easily added till the bus revamp is
completed.

This fixes regression caused by commit be9b720a0c ("mei_phy: move all
nfc logic from mei driver to nfc")

Prior to this change the nfc driver remove handler called to no-op
disable function while actual nfc device was disabled directly from the
mei driver.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-07-07 15:04:12 -07:00
..
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
Makefile mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
amthif.c mei: drop iamthif_mtu from device structure 2015-05-24 11:13:48 -07:00
bus.c mei: nfc: fix deadlock on shutdown/suspend path 2015-07-07 15:04:12 -07:00
client.c mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
client.h mei: support for fixed address clients 2015-05-24 11:13:48 -07:00
debugfs.c mei: export hbm features to debugfs under devstate 2015-05-24 11:20:20 -07:00
hbm.c mei: support for fixed address clients 2015-05-24 11:13:48 -07:00
hbm.h mei: fix hbm MEI_HBM_STARTED ambiguity 2014-11-07 09:59:08 -08:00
hw-me-regs.h mei: read and print all six FW status registers 2014-11-26 19:06:41 -08:00
hw-me.c mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
hw-me.h mei: me: change power gating function name conventions 2015-03-01 19:36:59 -08:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
hw-txe.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hw.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
init.c mei: nfc: fix deadlock on shutdown/suspend path 2015-07-07 15:04:12 -07:00
interrupt.c mei: support for fixed address clients 2015-05-24 11:13:48 -07:00
main.c mei: debug prints with client info in read 2015-05-24 11:13:49 -07:00
mei-trace.c mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
mei-trace.h mei: trace: remove unused TRACE_SYSTEM_STRING 2015-04-13 15:27:19 +02:00
mei_dev.h mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
nfc.c mei: nfc: fix deadlock on shutdown/suspend path 2015-07-07 15:04:12 -07:00
pci-me.c Char/Misc driver patches for 4.1-rc1 2015-04-21 09:42:58 -07:00
pci-txe.c mei: txe: fix incorrect indentation 2015-05-24 11:13:49 -07:00
wd.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00