mei: amthif: drop READ_COMPLETE state
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 24 May 2016 20:03:35 +0000 (16:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2016 12:35:13 +0000 (14:35 +0200)
commitca455fafc2ef6a26089ba082b89e5d6e89cb2f8f
tree50fc610c6ad7f4050cd551b090073dac6bc9f1ed
parent2f9cc12bb34a4a90f18839a5ce35e1e4d33d6413
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>
drivers/misc/mei/amthif.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h