From: Tomas Winkler Date: Wed, 8 Jan 2014 18:19:21 +0000 (+0200) Subject: mei: do not run reset flow from the interrupt thread X-Git-Tag: v3.14-rc1~152^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=544f94601409653f07ae6e22d4a39e3a90dceead;p=pandora-kernel.git mei: do not run reset flow from the interrupt thread This fixes a potential deadlock in case of a firmware initiated reset mei_reset has a dialog with the interrupt thread hence it has to be run from an another work item Most of the mei_resets were called from mei_hbm_dispatch which is called in interrupt thread context so this function underwent major revamp. The error code is propagated to the interrupt thread and if needed the reset is scheduled from there. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed