diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-05-24 23:03:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 15:35:13 +0300 |
commit | ca455fafc2ef6a26089ba082b89e5d6e89cb2f8f (patch) | |
tree | 50fc610c6ad7f4050cd551b090073dac6bc9f1ed /drivers/misc/mei/main.c | |
parent | 2f9cc12bb34a4a90f18839a5ce35e1e4d33d6413 (diff) | |
download | linux-ca455fafc2ef6a26089ba082b89e5d6e89cb2f8f.tar.xz |
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.c | 2 |
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; } |