tpm: check the chip reference before using it
authorAndi Shyti <andi.shyti@gmail.com>
Mon, 28 May 2012 16:42:45 +0000 (18:42 +0200)
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>
Tue, 12 Jun 2012 21:53:51 +0000 (18:53 -0300)
If a driver calls tpm_dev_vendor_release for a device already released
then the driver will oops.

Signed-off-by: Andi Shyti <andi.shyti@gmail.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

No differences found