aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2020-03-11 16:00:06 +0300
committerGreg Kroah-Hartman <[email protected]>2020-03-12 09:34:52 +0100
commit081da1325d351ea8804cf74e65263ea120834f33 (patch)
treed6bca49f9e270eafe981c38cba7c070611d12fcc /scripts/gcc-plugins/sancov_plugin.c
parentd16e7b62c5adcd13832c6b0ba364c3468d21b856 (diff)
usb: typec: ucsi: displayport: Fix a potential race during registration
Locking the connector in ucsi_register_displayport() to make sure that nothing can access the displayport alternate mode before the function has finished and the alternate mode is actually ready. Fixes: af8622f6a585 ("usb: typec: ucsi: Support for DisplayPort alt mode") Cc: [email protected] Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions