]> git.karo-electronics.de Git - linux-beck.git/commit
mei: bus: add and call callback on notify event
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sun, 26 Jul 2015 06:54:23 +0000 (09:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:30:00 +0000 (17:30 -0700)
commitbb2ef9c39db2e3c2562b4e439b2b00dc42e2c026
tree632acc72047a233febc00c0a9d38ac423b25ba77
parent237092bf034a648611f61eb1f0965e9ba1b08871
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>
drivers/misc/mei/bus.c
drivers/misc/mei/client.c
drivers/misc/mei/mei_dev.h
drivers/nfc/mei_phy.c
include/linux/mei_cl_bus.h