From: Scot Doyle Date: Wed, 24 Sep 2014 22:41:10 +0000 (+0000) Subject: tpm_tis: verify interrupt during init X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~113^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=448e9c55c12d6bd4fa90a7e31d802e045666d7c8;p=pandora-kernel.git tpm_tis: verify interrupt during init Some machines, such as the Acer C720 and Toshiba CB35, have TPMs that do not send IRQs while also having an ACPI TPM entry indicating that they will be sent. These machines freeze on resume while the tpm_tis module waits for an IRQ, eventually timing out. When in interrupt mode, the tpm_tis module should receive an IRQ during module init. Fall back to polling mode if none is received when expected. Cc: Signed-off-by: Scot Doyle Tested-by: Michael Mullin Reviewed-by: Jason Gunthorpe [phuewe: minor checkpatch fixed] Signed-off-by: Peter Huewe --- Reading git-diff-tree failed