mei: amthif: enable poll for async events
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 24 May 2016 20:03:38 +0000 (16:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2016 12:35:14 +0000 (14:35 +0200)
commit9fa0be8bb66a42a5f75e00a54732c92f3772aa6e
treeca7e89912ca7c152e86b47dbde5a05d62d2b75ec
parentbca7dbacfd4c7f1f069a70e241e39aea5bd85808
mei: amthif: enable poll for async events

Currently the poll function is bailing early for amthif client and
ignores requests for async events notifications.
Move async event processing before amthif to enable async events
notifications on amthif client.

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