kernel-ark/drivers/char/tpm
Nishanth Aravamudan 700d8bdcd0 [PATCH] char/tpm: use msleep(), clean-up timers,
The TPM driver unnecessarily uses timers when it simply needs to maintain a
maximum delay via time_before().  msleep() is used instead of
schedule_timeout() to guarantee the task delays as expected.  While
compile-testing, I found a typo in the driver, using tpm_chp instead of
tpm_chip.  Remove the now unused timer callback function and change
TPM_TIMEOUT's units to milliseconds.  Patch is compile-tested.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-24 00:05:24 -07:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tpm_atmel.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tpm_nsc.c [PATCH] char/tpm: use msleep(), clean-up timers, 2005-06-24 00:05:24 -07:00
tpm.c [PATCH] char/tpm: use msleep(), clean-up timers, 2005-06-24 00:05:24 -07:00
tpm.h [PATCH] char/tpm: use msleep(), clean-up timers, 2005-06-24 00:05:24 -07:00