CHROMIUM: tpm: cr50_spi: Wake cr50 after resume

We are using jiffies to trace cr50's sleep status. But it would not work
well after suspend/resume, which might cause flow control timeout.

So wake cr50 after resume to avoid that.

TEST=build and boot

Change-Id: I0007261c62647b6cd500e8bbd1d1642e44254fd0
Signed-off-by: Jeffy Chen <>
Reviewed-by: Andrey Pronin <>
(cherry picked from commit 503a8252cb351ee066fc41ac14aff4e92e00c619)
Commit-Queue: Andrey Pronin <>
Tested-by: Andrey Pronin <>
1 file changed