From: Jason Gunthorpe Date: Wed, 21 Nov 2012 20:54:33 +0000 (-0700) Subject: TPM: Issue TPM_STARTUP at driver load if the TPM has not been started X-Git-Tag: v3.9-rc1~137^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c584af1926b7626ef3bdab3354382cb2bd434d36;p=pandora-kernel.git TPM: Issue TPM_STARTUP at driver load if the TPM has not been started The TPM will respond to TPM_GET_CAP with TPM_ERR_INVALID_POSTINIT if TPM_STARTUP has not been issued. Detect this and automatically issue TPM_STARTUP. This is for embedded applications where the kernel is the first thing to touch the TPM. Signed-off-by: Jason Gunthorpe Tested-by: Peter Huewe Reviewed-by: Peter Huewe Signed-off-by: Kent Yoder --- Reading git-diff-tree failed