tpm_tis: free irq after probing
authorMartin Wilck <Martin.Wilck@ts.fujitsu.com>
Thu, 5 Nov 2015 16:19:09 +0000 (17:19 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 9 Nov 2015 15:52:54 +0000 (17:52 +0200)
commit2aef9da60bfdeb68dbcd4f114c098cbaa841b4ee
treec1d91077dccce06de7115dc262d7cb4353c3fc3d
parentba94c3ff20c9c179f2a80f0e4c71e1571ebbf5c7
tpm_tis: free irq after probing

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>
drivers/char/tpm/tpm_tis.c