aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/surface_aggregator_registry.c
diff options
context:
space:
mode:
authorMaximilian Luz <[email protected]>2022-05-27 04:34:42 +0200
committerHans de Goede <[email protected]>2022-06-13 17:25:08 +0200
commit2c2c3a07086c910719dc7135f1d871d2c6c022fc (patch)
tree19785dbf7b2ddfc5be6ae7bf3a2eea81021121c4 /drivers/platform/surface/surface_aggregator_registry.c
parentb49ba26bec452d3065e09327fbda79d7120a9f9d (diff)
HID: surface-hid: Add support for hot-removal
Add support for hot-removal of SSAM HID client devices. Once a device has been hot-removed, further communication with it should be avoided as it may fail and time out. While the device will be removed as soon as we detect hot-removal, communication may still occur during teardown, especially when unregistering notifiers. While hot-removal is a surprise event that can happen at any time, try to avoid communication as much as possible once it has been detected to prevent timeouts that can slow down device removal and cause issues, e.g. when quickly re-attaching the device. Signed-off-by: Maximilian Luz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/surface_aggregator_registry.c')
0 files changed, 0 insertions, 0 deletions