OSDN Git Service

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)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 2 Sep 2019 14:08:35 +0000 (17:08 +0300)
commit1ea32c83c699df32689d329b2415796b7bfc2f6e
treef33f3f6c849f6ddc7d13f11885e31b7825455d3c
parent5b359c7c43727e624eac3efc7ad21bd2defea161
tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts

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