aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/cros_hps_i2c.c
diff options
context:
space:
mode:
authorGravatar Rob Barnes <robbarnes@google.com> 2023-05-09 23:26:24 +0000
committerGravatar Tzung-Bi Shih <tzungbi@kernel.org> 2023-05-15 11:55:41 +0800
commit2cbf475a04b2ae3d722bbe41742e5d874a027fc3 (patch)
tree58678c21c564f0db9ced693871c0cf89c653f5f2 /drivers/platform/chrome/cros_hps_i2c.c
parentplatform/chrome: cros_typec_switch: Add Pin D support (diff)
downloadlinux-2cbf475a04b2ae3d722bbe41742e5d874a027fc3.tar.gz
linux-2cbf475a04b2ae3d722bbe41742e5d874a027fc3.tar.bz2
linux-2cbf475a04b2ae3d722bbe41742e5d874a027fc3.zip
platform/chrome: cros_ec: Report EC panic as uevent
Create a uevent when an EC panic is detected. This will allow udev rules to trigger when a panic occurs. For example, a udev rule could be added to capture an EC coredump. This approach avoids the need to stuff all the processing into the driver. Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-by: Prashant Malani <pmalani@chromium.org> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://lore.kernel.org/r/20230509232624.3120347-1-robbarnes@google.com
Diffstat (limited to 'drivers/platform/chrome/cros_hps_i2c.c')
0 files changed, 0 insertions, 0 deletions