diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2015-07-26 08:54:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-04 02:30:00 +0200 |
commit | 51678ccb7b12dd428a84d466ff379a5e2d717f1f (patch) | |
tree | a0c122b9751655eaaa28d97a40cad163b8779547 /drivers/misc/mei/interrupt.c | |
parent | mei: enable async event notifications only from hbm version 2.0 (diff) | |
download | linux-51678ccb7b12dd428a84d466ff379a5e2d717f1f.tar.xz linux-51678ccb7b12dd428a84d466ff379a5e2d717f1f.zip |
mei: add mei_cl_notify_request command
Add per client notification request infrastructure
that allows client to enable or disable async
event notification.
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/misc/mei/interrupt.c')
-rw-r--r-- | drivers/misc/mei/interrupt.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/misc/mei/interrupt.c b/drivers/misc/mei/interrupt.c index 89d8e1304077..c418d7888994 100644 --- a/drivers/misc/mei/interrupt.c +++ b/drivers/misc/mei/interrupt.c @@ -403,6 +403,13 @@ int mei_irq_write_handler(struct mei_device *dev, struct mei_cl_cb *cmpl_list) if (ret) return ret; break; + + case MEI_FOP_NOTIFY_START: + case MEI_FOP_NOTIFY_STOP: + ret = mei_cl_irq_notify(cl, cb, cmpl_list); + if (ret) + return ret; + break; default: BUG(); } |