diff mbox series

[Eoan,1/2] Revert "tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts"

Message ID 20191128135422.18160-2-cascardo@canonical.com
State New
Headers show
Series Fixes boot problem | expand

Commit Message

Thadeu Lima de Souza Cascardo Nov. 28, 2019, 1:54 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1852586

This reverts commit dd0bf321c5ea7ef5755e7e68d5e5b61010ad2ef9.

This and the following revert fix a boot problem reported by different
users. At least, one user has reported that the reverts fix the boot
issue.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
---
 drivers/char/tpm/tpm_tis_core.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core.c
index 270f43acbb77..ffa9048d8f6c 100644
--- a/drivers/char/tpm/tpm_tis_core.c
+++ b/drivers/char/tpm/tpm_tis_core.c
@@ -981,7 +981,6 @@  int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq,
 		}
 
 		tpm_chip_start(chip);
-		chip->flags |= TPM_CHIP_FLAG_IRQ;
 		if (irq) {
 			tpm_tis_probe_irq_single(chip, intmask, IRQF_SHARED,
 						 irq);