projects
/
platform
/
kernel
/
linux-starfive.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
3232b19
..
29dac1e
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;
}