OSDN Git Service

mei: fix mei_poll operation
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 26 Mar 2015 22:27:57 +0000 (00:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 14:18:56 +0000 (16:18 +0200)
commit1d9013f09203c694e2cba478b05afc6484d55180
tree5121a805e981d630719641d0872c893a6c64feb7
parente1c0d82dab4a4605d3bd1968436f030dfed4a829
mei: fix mei_poll operation

mei_poll returned with POLLIN w/o checking whether the operation
has really completed.
remove redundant check and locking in amthif specific handler

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/client.c
drivers/misc/mei/main.c