commit | b160c94be5d2816b62c8ac338605668304242959 | [log] [tgz] |
---|---|---|
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Sun Apr 12 20:04:12 2020 +0300 |
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Tue Apr 21 00:06:13 2020 +0300 |
tree | 2c84532527b383375ba8f3f274d00a8c35ccd94b | |
parent | 29cb79795e324a8b65e7891d76f8f6ca911ba440 [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>