]> git.baikalelectronics.ru Git - kernel.git/commit
tpm_infineon: fix suspend/resume handler for pnp_driver
authorMarcel Selhorst <m.selhorst@sirrix.com>
Wed, 10 Feb 2010 21:56:32 +0000 (13:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Feb 2010 21:59:42 +0000 (13:59 -0800)
commitb3d31e6bdd7d0c13d9cc7a3c8552153cf19f3b62
tree4793e53b0ed27f5791a73e851d52296b63c4d7f8
parenta64d1966aebab526cdff5d8585791440951fc08d
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 <m.selhorst@sirrix.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Debora Velarde <debora@linux.vnet.ibm.com>
Cc: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: <stable@kernel.org> [2.6.32.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tpm/tpm_infineon.c