platform/chrome: cros_ec_lpc: Remove EC panic shutdown timeout
authorRob Barnes <robbarnes@google.com>
Wed, 2 Aug 2023 17:58:48 +0000 (17:58 +0000)
committerTzung-Bi Shih <tzungbi@kernel.org>
Mon, 7 Aug 2023 02:39:16 +0000 (10:39 +0800)
commitf2d4dced9a584612b25adb559c1350243d2bb544
treeb123a16a07654b793a1af6452dfd887109dda48a
parent5008b864b6a68ce993bc0d67258c697d1eee1f92
platform/chrome: cros_ec_lpc: Remove EC panic shutdown timeout

Remove the 1 second timeout applied to hw_protection_shutdown after an
EC panic. On some platforms this 1 second timeout is insufficient to
allow the filesystem to fully sync. Independently the EC will force a
full system reset after a short period. So this backup timeout is
unnecessary.

Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20230802175847.1.Ie9fc53b6a1f4c6661c5376286a50e0cf51b3e961@changeid
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/cros_ec_lpc.c