summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm_infineon.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2020-04-12 20:04:12 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2020-04-21 00:06:13 +0300
commitb160c94be5d2816b62c8ac338605668304242959 (patch)
tree2c84532527b383375ba8f3f274d00a8c35ccd94b /drivers/char/tpm/tpm_infineon.c
parent29cb79795e324a8b65e7891d76f8f6ca911ba440 (diff)
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 'drivers/char/tpm/tpm_infineon.c')
0 files changed, 0 insertions, 0 deletions