From: Jason Gunthorpe Date: Wed, 9 Sep 2009 23:22:18 +0000 (-0600) Subject: TPM: Fixup boot probe timeout for tpm_tis driver X-Git-Tag: v2.6.32-rc1~737^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec57935837a78f9661125b08a5d08b697568e040;p=pandora-kernel.git TPM: Fixup boot probe timeout for tpm_tis driver When probing the device in tpm_tis_init the call request_locality uses timeout_a, which wasn't being initalized until after request_locality. This results in request_locality falsely timing out if the chip is still starting. Move the initialization to before request_locality. This probably only matters for embedded cases (ie mine), a BIOS likely gets the TPM into a state where this code path isn't necessary. Signed-off-by: Jason Gunthorpe Acked-by: Rajiv Andrade Signed-off-by: James Morris --- Reading git-diff-tree failed