summaryrefslogtreecommitdiff
path: root/include/linux/hypervisor.h
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2020-04-12 20:04:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-29 16:31:29 +0200
commitede1d58c156e2735f2b6971b0ea39d4629da10f9 (patch)
treef278d3b28f7a7718c21dc6153522383f7979c452 /include/linux/hypervisor.h
parent65e3bab6948293998c3936fa881e40b6bcf7ac5c (diff)
tpm/tpm_tis: Free IRQ if probing fails
commit b160c94be5d2816b62c8ac338605668304242959 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hypervisor.h')
0 files changed, 0 insertions, 0 deletions