From: Marcel Selhorst Date: Wed, 10 Feb 2010 21:56:32 +0000 (-0800) Subject: tpm_infineon: fix suspend/resume handler for pnp_driver X-Git-Tag: v2.6.33-rc8~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93716b9470fbfd9efdc7d0f2445cb34635de3f6d;p=pandora-kernel.git tpm_infineon: fix suspend/resume handler for pnp_driver When suspending, tpm_infineon calls the generic suspend function of the TPM framework. However, the TPM framework does not return and the system hangs upon suspend. When sending the necessary command "TPM_SaveState" directly within the driver, suspending and resuming works fine. Signed-off-by: Marcel Selhorst Cc: OGAWA Hirofumi Cc: Debora Velarde Cc: Rajiv Andrade Cc: [2.6.32.x] Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed