mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
chrome-platform: Fixes for v7.1-rc3
* Fixes - Fix a NULL dereference in cros_ec_typec. -----BEGIN PGP SIGNATURE----- iIkEABYKADEWIQS0yQeDP3cjLyifNRUrxTEGBto89AUCafql3BMcdHp1bmdiaUBr ZXJuZWwub3JnAAoJECvFMQYG2jz0WUYBANT74RbimiLqthwB3eAKwDI/NoY1n4L1 DFLw9p9aAZ44AQDobVTg3UirNAo7tzcXDXaAhNSMn02A8cOQfrSShLadAQ== =WDBR -----END PGP SIGNATURE----- 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:
commit
b625e47f04
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user