diff options
author | Tomas Winkler <[email protected]> | 2015-06-18 11:41:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-07-22 21:31:05 -0700 |
commit | 154322f47376fed6ab1e4b350aa45fffa15a61aa (patch) | |
tree | e89be0738fb519dc975b6403804d8ed1a2bbc7f0 /tools/perf/util/trace-event-scripting.c | |
parent | a63444375f08a18a6b2286351606f08d6e9fa63d (diff) |
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: <[email protected]> #3.17+
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Alexander Usyskin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions