original_kernel/drivers/misc/mei
Tomas Winkler 154322f473 mei: prevent unloading mei hw modules while the device is opened.
chrdev_open() increases reference counter on cdev->owner. Instead of
assigning the owner to mei subsystem, the owner has to be set to the
underlaying HW module (mei_me or mei_txe), so once the device is opened
the HW module cannot be unloaded.

Cc: <stable@vger.kernel.org> #3.17+
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-07-22 21:31:05 -07:00
..
Kconfig
Makefile
amthif.c
bus.c
client.c
client.h
debugfs.c
hbm.c
hbm.h
hw-me-regs.h
hw-me.c
hw-me.h
hw-txe-regs.h
hw-txe.c
hw-txe.h
hw.h
init.c
interrupt.c
main.c
mei-trace.c
mei-trace.h
mei_dev.h
nfc.c
pci-me.c
pci-txe.c
wd.c