diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2020-04-12 19:04:12 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2020-04-20 23:06:13 +0200 |
commit | b160c94be5d2816b62c8ac338605668304242959 (patch) | |
tree | 2c84532527b383375ba8f3f274d00a8c35ccd94b /.cocciconfig | |
parent | tpm: fix wrong return value in tpm_pcr_extend (diff) | |
download | linux-b160c94be5d2816b62c8ac338605668304242959.tar.xz linux-b160c94be5d2816b62c8ac338605668304242959.zip |
tpm/tpm_tis: Free IRQ if probing fails
Call disable_interrupts() if we have to revert to polling in order not to
unnecessarily reserve the IRQ for the life-cycle of the driver.
Cc: stable@vger.kernel.org # 4.5.x
Reported-by: Hans de Goede <hdegoede@redhat.com>
Fixes: e3837e74a06d ("tpm_tis: Refactor the interrupt setup")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions