diff options
| author | Heikki Krogerus <[email protected]> | 2020-03-11 13:00:06 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-12 08:34:52 +0000 |
| commit | 081da1325d351ea8804cf74e65263ea120834f33 (patch) | |
| tree | d6bca49f9e270eafe981c38cba7c070611d12fcc /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | usb: typec: ucsi: displayport: Fix NULL pointer dereference (diff) | |
| download | kernel-081da1325d351ea8804cf74e65263ea120834f33.tar.gz kernel-081da1325d351ea8804cf74e65263ea120834f33.zip | |
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
