tpm_tis: fix tis_lock with respect to RCU

cleanup_tis() -> tpm_remove_hardware() -> syncrhonize_rcu() is being
called in an atomic context (tis_lock spinlock held), which is not
allowed. Convert tis_lock to mutex.

Signed-off-by: Jiri Kosina <[email protected]>
Tested-by: Stefan Berger <[email protected]>
Acked-by: Rajiv Andrade <[email protected]>
1 file changed