diff options
author | Andrei Kuchynski <akuchynski@chromium.org> | 2025-03-21 14:37:27 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-11 14:57:36 +0200 |
commit | 66e1a887273c6b89f09bc11a40d0a71d5a081a8e (patch) | |
tree | cc12172a1ad6825335ee13c1cc940ae8bdd71224 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ec27386de23a511008c53aa2f3434ad180a3ca9a (diff) |
usb: typec: class: Invalidate USB device pointers on partner unregistration
To avoid using invalid USB device pointers after a Type-C partner
disconnects, this patch clears the pointers upon partner unregistration.
This ensures a clean state for future connections.
Cc: stable@vger.kernel.org
Fixes: 59de2a56d127 ("usb: typec: Link enumerated USB devices with Type-C partner")
Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20250321143728.4092417-3-akuchynski@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions