summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/main.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2016-05-24 16:03:35 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-30 14:35:13 +0200
commitca455fafc2ef6a26089ba082b89e5d6e89cb2f8f (patch)
tree50fc610c6ad7f4050cd551b090073dac6bc9f1ed /drivers/misc/mei/main.c
parent2f9cc12bb34a4a90f18839a5ce35e1e4d33d6413 (diff)
downloadlinux-ca455fafc2ef6a26089ba082b89e5d6e89cb2f8f.tar.bz2
mei: amthif: drop READ_COMPLETE state
AMTHIF code now uses read completed queue to store replies from the FW. It is possible to send the next request as soon as a read from the FW is completed. With these changes we don't need the READ_COMPLETE state. 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/main.c')
-rw-r--r--drivers/misc/mei/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c
index 52635b063873..622ff19864df 100644
--- a/drivers/misc/mei/main.c
+++ b/drivers/misc/mei/main.c
@@ -610,7 +610,7 @@ static unsigned int mei_poll(struct file *file, poll_table *wait)
}
if (cl == &dev->iamthif_cl) {
- mask = mei_amthif_poll(dev, file, wait);
+ mask = mei_amthif_poll(file, wait);
goto out;
}