summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/dummy-plugin-dir/include
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-05-05 05:34:03 +0000
committerTzung-Bi Shih <tzungbi@kernel.org>2026-05-06 02:14:33 +0000
commit525cb7ba6661074c1c5cc3772bccc6afab6791ef (patch)
treebae345d5a4c614c7b536aec7897190a656a5f8fc /scripts/dummy-tools/dummy-plugin-dir/include
parent168e4b208ca8c2e04de20cc6cb7e2fb035dc1ec8 (diff)
platform/chrome: cros_ec_typec: Init mutex in Thunderbolt registration
cros_typec_register_thunderbolt() missed initializing the `adata->lock` mutex. This leads to a NULL dereference when the mutex is later acquired (e.g. in cros_typec_altmode_work()). Initialize the mutex in cros_typec_register_thunderbolt() to fix the issue. Cc: stable@vger.kernel.org Fixes: 3b00be26b16a ("platform/chrome: cros_ec_typec: Thunderbolt support") Reviewed-by: Benson Leung <bleung@chromium.org> Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Link: https://lore.kernel.org/r/20260505053403.3335740-1-tzungbi@kernel.org Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/dummy-tools/dummy-plugin-dir/include')
0 files changed, 0 insertions, 0 deletions