]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:29:40 +0000 (10:29 -0700)
commitd47f1d0c947a955b6d78befe9c6fa0928e4eff53
treefa6c9ca0fcda8b7e34ab450898aaae9d0bcb097a
parentf0c40cec4aee24385ffa12ccd40c227856ca5a82
tpm_tis: fix subsequent suspend failures

commit 59f6fbe4291fcc078ba26ce4edf8373a7620a13a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tpm/tpm_tis.c