diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2015-07-26 08:54:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-04 02:30:00 +0200 |
commit | bb2ef9c39db2e3c2562b4e439b2b00dc42e2c026 (patch) | |
tree | 632acc72047a233febc00c0a9d38ac423b25ba77 /drivers/misc/mei/client.c | |
parent | mei: implement fasync for event notification (diff) | |
download | linux-bb2ef9c39db2e3c2562b4e439b2b00dc42e2c026.tar.xz linux-bb2ef9c39db2e3c2562b4e439b2b00dc42e2c026.zip |
mei: bus: add and call callback on notify event
Enable drivers on mei client bus to subscribe
to asynchronous event notifications.
Introduce events_mask to the existing callback infrastructure
so it is possible to handle both RX and event notification.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/client.c')
-rw-r--r-- | drivers/misc/mei/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c index db2436aee2dc..5fcd70bcdf96 100644 --- a/drivers/misc/mei/client.c +++ b/drivers/misc/mei/client.c @@ -1375,6 +1375,8 @@ void mei_cl_notify(struct mei_cl *cl) if (cl->ev_async) kill_fasync(&cl->ev_async, SIGIO, POLL_PRI); + + mei_cl_bus_notify_event(cl); } /** |