]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tpm_crb: tpm2_shutdown() must be called before tpm_chip_unregister()
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 18 Feb 2016 20:11:29 +0000 (22:11 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 20 Feb 2016 07:59:33 +0000 (09:59 +0200)
commit99cda8cb4639de81cde785b5bab9bc52e916e594
treeecbfedd396719c122b192d7df402224dfe477d65
parent30f9c8c9e2ea37473a51354e9e492580a40661ce
tpm_crb: tpm2_shutdown() must be called before tpm_chip_unregister()

Wrong call order.

Reported-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Fixes: 74d6b3ceaa17
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
cc: stable@vger.kernel.org
drivers/char/tpm/tpm_crb.c