diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-04-20 11:03:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 14:08:08 -0700 |
commit | 7ff4bdd45448936363dc6dc6c851112b5c08e209 (patch) | |
tree | 93a8e1621ef6d07fe36431413a31351e9ee485a8 /drivers/spmi | |
parent | 4a8eaa96d8eebf5818ddf1aca92e775a2c2d3f7e (diff) | |
download | linux-7ff4bdd45448936363dc6dc6c851112b5c08e209.tar.bz2 |
mei: fix waiting for wr_ctrl for corner cases.
A control message reply may not be received if either a link reset has
occurred or disconnection is initiated by the FW.
In the both cases the client state will be set straight to DISCONNECTED
and the driver will wait till timeout.
Adding DISCONNECTED state in the waiting condition will release the
client from the stall.
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/spmi')
0 files changed, 0 insertions, 0 deletions