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>
This commit is contained in:
Alexander Usyskin
2016-05-24 16:03:35 -04:00
committed by Greg Kroah-Hartman
parent 2f9cc12bb3
commit ca455fafc2
3 changed files with 13 additions and 28 deletions

View File

@@ -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;
}