mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 05:31:37 -04:00
Merge tag 'chrome-platform-fixes-v7.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
Pull chrome-platform fix from Tzung-Bi Shih: - Fix a NULL dereference in cros_ec_typec * tag 'chrome-platform-fixes-v7.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux: platform/chrome: cros_ec_typec: Init mutex in Thunderbolt registration
This commit is contained in:
@@ -359,6 +359,7 @@ cros_typec_register_thunderbolt(struct cros_typec_port *port,
|
||||
}
|
||||
|
||||
INIT_WORK(&adata->work, cros_typec_altmode_work);
|
||||
mutex_init(&adata->lock);
|
||||
adata->alt = alt;
|
||||
adata->port = port;
|
||||
adata->ap_mode_entry = true;
|
||||
|
||||
Reference in New Issue
Block a user