]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tpm_tis: free irq after probing
authorMartin Wilck <Martin.Wilck@ts.fujitsu.com>
Thu, 5 Nov 2015 16:19:09 +0000 (17:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Feb 2016 22:28:26 +0000 (14:28 -0800)
commit948670bcb1bb63cabbbf7fca762514bea78048de
tree157ab5ac0c4218824b212f22d247d93b8f33a350
parentd75b72ac3e475903bace726f1cd6d7692dafc977
tpm_tis: free irq after probing

commit 2aef9da60bfdeb68dbcd4f114c098cbaa841b4ee upstream.

Release IRQs used for probing only. Otherwise the TPM will end up
with all IRQs 3-15 assigned.

Fixes: afb5abc262e9 ("tpm: two-phase chip management functions")
Signed-off-by: Martin Wilck <Martin.Wilck@ts.fujitsu.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Acked-by: Peter Huewe <PeterHuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/tpm/tpm_tis.c