]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:37 +0000 (08:50 -0400)
commit3a4db9eef86e230e3b441ea14ab4ed5492b5bf02
tree852d67db5fc8e55e23be9d0702cd6dc21e0d59c1
parent2ecb9996d53c218a536ad796b766c2c1cd06c3c0
tpm_crb: tpm2_shutdown() must be called before tpm_chip_unregister()

[ Upstream commit 99cda8cb4639de81cde785b5bab9bc52e916e594 ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/char/tpm/tpm_crb.c