diff options
author | 2023-05-15 14:25:52 -0600 | |
---|---|---|
committer | 2023-05-22 09:54:36 +0800 | |
commit | 4b9abbc132b86e2ce65090798186836f48f33382 (patch) | |
tree | 32d43f960722e31f7ceb111d4ffaf809ddf432b4 /drivers/platform/chrome/cros_hps_i2c.c | |
parent | platform/chrome: cros_ec: Report EC panic as uevent (diff) | |
download | linux-4b9abbc132b86e2ce65090798186836f48f33382.tar.gz linux-4b9abbc132b86e2ce65090798186836f48f33382.tar.bz2 linux-4b9abbc132b86e2ce65090798186836f48f33382.zip |
platform/chrome: cros_ec_lpc: Move host command to prepare/complete
Update cros_ec_lpc_pm_ops to call cros_ec_lpc_prepare() during PM
.prepare() and cros_ec_lpc_complete() during .complete(). This moves the
host command that the AP sends and allows the EC to log entry/exit of
AP's suspend/resume more accurately.
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
Signed-off-by: Tim Van Patten <timvp@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20230515142552.1.I17cae37888be3a8683911991602f18e482e7a621@changeid
Diffstat (limited to 'drivers/platform/chrome/cros_hps_i2c.c')
0 files changed, 0 insertions, 0 deletions