]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
TPM: fix TIS device driver locality request
authorMarcel Selhorst <tpm@selhorst.net>
Thu, 29 Nov 2007 00:21:27 +0000 (16:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 29 Nov 2007 17:24:52 +0000 (09:24 -0800)
commit05a462afe80553550bc77afc724ce60b42ad587e
tree74a545565f0bc1a7cb151b0e768840f454c51080
parent19fd4bb2a0cfede054e4904e0b167e0ca4f36cc7
TPM: fix TIS device driver locality request

During the initialization of the TPM TIS driver, the necessary locality has
to be requested earlier in the init-process.  Depending on the used TPM
chip, this leads to wrong information.  For example: Lenovo X61s with Atmel
TPM:

tpm_tis 00:0a: 1.2 TPM (device-id 0xFFFF, rev-id 255)

But correct is:

tpm_tis 00:0c: 1.2 TPM (device-id 0x3203, rev-id 9)

This short patch fixes this issue.

Signed-off-by: Marcel Selhorst <tpm@selhorst.net>
Cc: Kylene Jo Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tpm/tpm_tis.c