drivers/i2c/tpm/cr50: Increase IRQ timeout
commited4fa099d9583f33130eae97827e63d41d203ff9
authorDuncan Laurie <dlaurie@chromium.org>
Tue, 1 Nov 2016 22:03:13 +0000 (1 15:03 -0700)
committerMartin Roth <martinroth@google.com>
Mon, 7 Nov 2016 19:38:45 +0000 (7 20:38 +0100)
treef7f0c609001e4e6ee44d2730af48d92d5c82f45a
parenta84fa908e2f8c25b21cb0017ff6bc80ee2d22ff3
drivers/i2c/tpm/cr50: Increase IRQ timeout

Increase the IRQ timeout to prevent issues if there is a delay
in the TPM responding to a command.  Split the no-IRQ case out
so it doesn't suffer unnecessarily.

BUG=chrome-os-partner:59191
TEST=suspend/resume testing on eve board

Change-Id: I1ea7859bc7a056a450b2b0ee32153ae43ee8699f
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/17204
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/drivers/i2c/tpm/cr50.c