]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: pay attention to IRQ info from PNP
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 17 Oct 2007 06:26:46 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:51 +0000 (08:42 -0700)
commit26d837e0cd35c85ba0de7b7efd87667937dd1665
tree17141d98b96fae1e8fac2974c97d264c897cbf27
parent0987bee3a801b41b3056ceea82bc0cce3baf1713
tpm: pay attention to IRQ info from PNP

If we discover the TIS TPM device via PNP, use the PNP IRQ information rather
than probing for an IRQ.  If PNP shows no IRQ, run the TPM in polling mode.

Tested-by: <valdis.kletnieks@vt.edu>
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Kylene Hall <kjhall@us.ibm.com>
Cc: <tpm@selhorst.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tpm/tpm_tis.c