]> git.baikalelectronics.ru Git - kernel.git/commit
tpm_tis: fix subsequent suspend failures
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>
Wed, 23 Jun 2010 19:18:56 +0000 (12:18 -0700)
committerJames Morris <jmorris@namei.org>
Mon, 26 Jul 2010 00:25:45 +0000 (10:25 +1000)
commit641e75fd534f905836dce1371c6335377b541522
tree1ca4be1a5cb996ace569fccded07e502a70bd32e
parent6b024bf6373306b4a19407e07ce6d75af6060ab7
tpm_tis: fix subsequent suspend failures

Fix subsequent suspends by issuing tpm_continue_selftest during resume.
Otherwise, the tpm chip seems to be not fully initialized and will reject
the save state command during suspend, thus preventing the whole system
to suspend.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=16256

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: James Morris <jmorris@namei.org>
Cc: Debora Velarde <debora@linux.vnet.ibm.com>
Cc: David Safford <safford@watson.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>
drivers/char/tpm/tpm_tis.c