summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-05-25 05:26:53 +0000
committerTzung-Bi Shih <tzungbi@kernel.org>2026-05-28 02:17:30 +0000
commit6c1977b1f760d7ec71da78781f1d9eeb7a0e21f2 (patch)
treecaf284ceed6e85ff529f008ba0c96a8bdee89627 /scripts/Makefile.thinlto
parent74aa0d4008051878c632530f2a2c13cff8e9b171 (diff)
platform/chrome: cros_ec_chardev: Add event relayer
Introduce an event relayer mechanism. Instead of each open file registering directly with `ec_dev->event_notifier`, the platform device registers a single relayer notifier. Individual files then register with a local subscribers list in `chardev_pdata`. This allows the driver to safely disconnect from the event chain `ec_dev->event_notifier` during cros_ec_chardev_remove(), preventing events from being delivered to open files after the device is removed, while still allowing those files to be closed safely later. Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20260525052654.4076429-4-tzungbi@kernel.org Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions