linux/drivers/platform/chrome
Tzung-Bi Shih 56cb557279 platform/chrome: cros_ec: Add a flag to track registration state
Introduce a `registered` flag to the `struct cros_ec_device` to allow
callers to determine if the device has been fully registered and is
ready for use.

This is a preparatory step to prevent race conditions where other drivers
might try to access the device before it is fully registered or after
it has been unregistered.

Link: https://lore.kernel.org/r/20250828083601.856083-5-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
2025-09-14 11:34:41 +08:00
..
wilco_ec platform/chrome: wilco_ec: Remove redundant semicolons 2025-08-13 09:57:21 +00:00
Kconfig platform/chrome: Fix typo in CROS_USBPD_NOTIFY help text 2025-07-23 23:09:44 +00:00
Makefile
chromeos_acpi.c
chromeos_laptop.c platform/chrome: chromeos_laptop: Replace open coded variant of DEFINE_RES_IRQ() 2025-07-01 07:15:14 +00:00
chromeos_of_hw_prober.c
chromeos_privacy_screen.c
chromeos_pstore.c
chromeos_tbmc.c
cros_ec.c platform/chrome: cros_ec: Add a flag to track registration state 2025-09-14 11:34:41 +08:00
cros_ec.h platform/chrome: Centralize cros_ec_device allocation 2025-09-14 11:34:41 +08:00
cros_ec_chardev.c platform/chrome: cros_ec_chardev: Decouple fops from struct cros_ec_dev 2025-08-11 14:37:29 +08:00
cros_ec_debugfs.c
cros_ec_i2c.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_ishtp.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_lightbar.c
cros_ec_lpc.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_lpc_mec.c
cros_ec_lpc_mec.h
cros_ec_proto.c platform/chrome: cros_ec: Add a flag to track registration state 2025-09-14 11:34:41 +08:00
cros_ec_proto_test.c
cros_ec_proto_test_util.c
cros_ec_proto_test_util.h
cros_ec_rpmsg.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_sensorhub.c platform/chrome: cros_ec_sensorhub: Retries when a sensor is not ready 2025-06-24 02:49:28 +00:00
cros_ec_sensorhub_ring.c
cros_ec_sensorhub_trace.h
cros_ec_spi.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_sysfs.c
cros_ec_trace.c
cros_ec_trace.h
cros_ec_typec.c platform/chrome: cros_ec_typec: Check ec platform device pointer 2025-07-23 03:19:16 +00:00
cros_ec_typec.h
cros_ec_uart.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_vbc.c
cros_hps_i2c.c
cros_kbd_led_backlight.c
cros_typec_altmode.c
cros_typec_altmode.h
cros_typec_switch.c
cros_typec_vdm.c
cros_typec_vdm.h
cros_usbpd_logger.c
cros_usbpd_notify.c