]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
UBUNTU: SAUCE: Revert "tpm_tis_core: Turn on the TPM before probing IRQ's"
authorThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 28 Nov 2019 13:54:00 +0000 (14:54 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 4 Dec 2019 09:29:26 +0000 (10:29 +0100)
BugLink: https://bugs.launchpad.net/bugs/1852586
This reverts commit f8595e0ab193dcb7840cd74690c6728ac6ca9dc1 (commit
5b359c7c43727e624eac3efc7ad21bd2defea161 upstream).

This and the previous 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>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/char/tpm/tpm_tis_core.c

index ffa9048d8f6cd2909ccf97ad4379a6b1befb712b..c3181ea9f27132e4013c6a1c86612d296a803c3d 100644 (file)
@@ -980,7 +980,6 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq,
                        goto out_err;
                }
 
-               tpm_chip_start(chip);
                if (irq) {
                        tpm_tis_probe_irq_single(chip, intmask, IRQF_SHARED,
                                                 irq);
@@ -990,7 +989,6 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq,
                } else {
                        tpm_tis_probe_irq(chip, intmask);
                }
-               tpm_chip_stop(chip);
        }
 
        rc = tpm_chip_register(chip);