mei: support polling for event notification
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 26 Jul 2015 06:54:21 +0000 (09:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:30:00 +0000 (17:30 -0700)
commit2c84c2970c1acf83827aa97ab0e6addc3d2aa960
tree8567095ee4121b333aea84a63d3a1e8f2cf36584
parent3c7c8468e5d993dfe377a67e41cbb23cda93af9e
mei: support polling for event notification

Polling on priority events is translated on waiting for event
notification. One need to enable notification prior for
calling select or poll system call otherwise process
will not wait.

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>
drivers/misc/mei/main.c