From: Alexander Usyskin Date: Sun, 27 Apr 2014 12:42:21 +0000 (+0300) Subject: mei: set connecting state just upon connection request is sent to the fw X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~38^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4d8270e604c3202131bac607969605ac397b893;p=pandora-kernel.git mei: set connecting state just upon connection request is sent to the fw Adding power gating introduced new waiting state for client also during connection attempt, a connection request can be queued for later either due device is power gated or due to other on going connection. We setting client connection state before start of full connect procedure so in both cased the client state will be MEI_FILE_CONNECTING which create interlock between the two connection attempts, both detecting that another connection is in progress. The interlock is resolved by moving client to connecting state only upon connection request transmission, so the first cb in queue can be processed. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed