commit | b950ac1dabfcbf97b99f26fa75f86087e1960aef | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Thu Jul 25 20:15:53 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 26 17:54:30 2013 -0700 |
tree | d9ef0e00c79acedc8eebdd3d61a460d7bbff962f | |
parent | 20138d6cb838aa01bb1b382dcb5f3d3a119ff2cb [diff] |
mei: don't get stuck in select during reset Clear pending connection after hw reset but before hw start and wake up the waiting task in poll. Signal POLLERR in select when device went through reset. Add wrapper mei_cl_is_connected for checking if the device and client are connected. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>