projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
737bebd
)
[PATCH] tpm: interrupt clear fix
author
Kylene Jo Hall
<kjhall@us.ibm.com>
Fri, 14 Jul 2006 07:24:30 +0000
(
00:24
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:55 +0000
(21:53 -0700)
Under stress testing I found that the interrupt is not always cleared.
Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm_tis.c
patch
|
blob
|
history
diff --git
a/drivers/char/tpm/tpm_tis.c
b/drivers/char/tpm/tpm_tis.c
index 3232b1932597e88989366a445d59c0de420728f7..29dac1e4537cb64f64780fc70863395caeaf22a6 100644
(file)
--- a/
drivers/char/tpm/tpm_tis.c
+++ b/
drivers/char/tpm/tpm_tis.c
@@
-424,6
+424,7
@@
static irqreturn_t tis_int_handler(int irq, void *dev_id, struct pt_regs *regs)
iowrite32(interrupt,
chip->vendor.iobase +
TPM_INT_STATUS(chip->vendor.locality));
+ ioread32(chip->vendor.iobase + TPM_INT_STATUS(chip->vendor.locality));
return IRQ_HANDLED;
}