linux/drivers/char/tpm
Stefan Berger be405411f7 tpm: fix (ACPI S3) suspend regression
This patch fixes an (ACPI S3) suspend regression introduced in commit
68d6e6713f ("tpm: Introduce function to poll for result of self test")
and occurring with an Infineon TPM and tpm_tis and tpm_infineon drivers
active.

The suspend problem occurred if the TPM was disabled and/or deactivated
and therefore the TPM_PCRRead checking the result of the (asynchronous)
self test returned an error code which then caused the tpm_tis driver to
become inactive and this then seemed to have negatively influenced the
suspend support by the tpm_infineon driver...  Besides that the tpm_tis
drive may stay active even if the TPM is disabled and/or deactivated.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Tested-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-18 15:50:17 -08:00
..
Kconfig Merge branch 'for-james' of git://github.com/srajiv/tpm into next 2011-11-17 10:08:37 +11:00
Makefile
tpm_atmel.c
tpm_atmel.h
tpm_bios.c
tpm_infineon.c
tpm_nsc.c TPM: tpm_nsc: Fix a double free of pdev in cleanup_nsc 2011-09-23 09:46:17 +10:00
tpm_tis.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
tpm.c tpm: fix (ACPI S3) suspend regression 2012-01-18 15:50:17 -08:00
tpm.h tpm: fix (ACPI S3) suspend regression 2012-01-18 15:50:17 -08:00