diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2015-07-26 06:54:18 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-04 00:30:00 (GMT) |
commit | 51678ccb7b12dd428a84d466ff379a5e2d717f1f (patch) | |
tree | a0c122b9751655eaaa28d97a40cad163b8779547 /drivers/misc/mei/interrupt.c | |
parent | 4d99877d871da0bbb924b2d7aa4ccb27e1ffa93a (diff) | |
download | linux-51678ccb7b12dd428a84d466ff379a5e2d717f1f.tar.xz |
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 89d8e13..c418d78 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(); } |