FIXUP: CHROMIUM: tpm: cr50_spi: Wake cr50 after resume

If CONFIG_PM_SLEEP is not enabled, we see the following build failure.

vers/char/tpm/cr50_spi.c: In function 'cr50_spi_resume':
drivers/char/tpm/cr50_spi.c:370:2: error:
	implicit declaration of function 'cr50_resume'

The following warning is also seen.

drivers/char/tpm/cr50_spi.c: At top level:
drivers/char/tpm/cr50_spi.c:358:12: warning:
	'cr50_spi_resume' defined but not used

TEST=build and boot

Signed-off-by: Guenter Roeck <>

Change-Id: I35ac7adb4b233e0988e20b9bb8de35d7fe5857c4
Commit-Ready: Guenter Roeck <>
Tested-by: Guenter Roeck <>
Reviewed-by: Andrey Pronin <>
(cherry picked from commit 6a67271c698e4813b4a348b57d8e55c96405e3f1)
Commit-Queue: Andrey Pronin <>
Tested-by: Andrey Pronin <>
1 file changed