summaryrefslogtreecommitdiffstats
path: root/drivers/parport/share.c
diff options
context:
space:
mode:
authorTomas Winkler2015-06-18 10:41:03 +0200
committerGreg Kroah-Hartman2015-07-23 06:31:05 +0200
commit154322f47376fed6ab1e4b350aa45fffa15a61aa (patch)
treee89be0738fb519dc975b6403804d8ed1a2bbc7f0 /drivers/parport/share.c
parentmisc: mic: scif bug fix for vmalloc_to_page crash (diff)
downloadkernel-qcow2-linux-154322f47376fed6ab1e4b350aa45fffa15a61aa.tar.gz
kernel-qcow2-linux-154322f47376fed6ab1e4b350aa45fffa15a61aa.tar.xz
kernel-qcow2-linux-154322f47376fed6ab1e4b350aa45fffa15a61aa.zip
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>
Diffstat (limited to 'drivers/parport/share.c')
0 files changed, 0 insertions, 0 deletions