]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts
authorStefan Berger <stefanb@linux.ibm.com>
Fri, 30 Aug 2019 00:09:06 +0000 (20:09 -0400)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:26:05 +0000 (04:26 -0400)
commitdd0bf321c5ea7ef5755e7e68d5e5b61010ad2ef9
tree396c938dee8b2a50c318401b9da2c48846aee4bc
parentf8595e0ab193dcb7840cd74690c6728ac6ca9dc1
tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts

BugLink: https://bugs.launchpad.net/bugs/1848046
commit 1ea32c83c699df32689d329b2415796b7bfc2f6e upstream.

The tpm_tis_core has to set the TPM_CHIP_FLAG_IRQ before probing for
interrupts since there is no other place in the code that would set
it.

Cc: linux-stable@vger.kernel.org
Fixes: 570a36097f30 ("tpm: drop 'irq' from struct tpm_vendor_specific")
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-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