Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm: Fix reference count to main device
The main device is currently not properly released due to one additional reference to the 'devs' device which is only released in case of a TPM 2. So, also get the additional reference only in case of a TPM2. Fixes: fdc915f ("tpm: expose spaces via a device link /dev/tpmrm<n>") Signed-off-by: Stefan Berger <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Tested-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
- Loading branch information