]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 11:14:03 +0000 (13:14 +0200)
commitd59609b135ac73f6d5a90f945605fd0a522ae878
tree736bc11b9289f762224e3107026f8408fe60d40a
parent43e8e81e357ce6e527321795fcf3279fc22c9874
tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts

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>
drivers/char/tpm/tpm_tis_core.c