From: Jason Gunthorpe Date: Thu, 22 May 2014 00:26:44 +0000 (-0600) Subject: tpm: Provide a generic means to override the chip returned timeouts X-Git-Tag: omap-for-v3.17/fixes-against-rc2~151^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e54caf407b98efa05409e1fee0e5381abd2b088;p=pandora-kernel.git tpm: Provide a generic means to override the chip returned timeouts Some Atmel TPMs provide completely wrong timeouts from their TPM_CAP_PROP_TIS_TIMEOUT query. This patch detects that and returns new correct values via a DID/VID table in the TIS driver. Tested on ARM using an AT97SC3204T FW version 37.16 Cc: [PHuewe: without this fix these 'broken' Atmel TPMs won't function on older kernels] Signed-off-by: "Berg, Christopher" Signed-off-by: Jason Gunthorpe Signed-off-by: Peter Huewe --- Reading git-diff-tree failed