linux-stable/drivers/usb/typec
Heikki Krogerus 081da1325d 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: af8622f6a5 ("usb: typec: ucsi: Support for DisplayPort alt mode")
Cc: stable@vger.kernel.org
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200311130006.41288-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 09:34:52 +01:00
..
altmodes usb: typec: Add parameter for the VDO to typec_altmode_enter() 2020-01-09 10:48:19 +01:00
mux usb: typec: Give the mux drivers all the details regarding the port state 2020-01-09 10:50:13 +01:00
tcpm usb: typec: fusb302: fix "op-sink-microwatt" default that was in mW 2020-01-22 10:13:03 +01:00
ucsi usb: typec: ucsi: displayport: Fix a potential race during registration 2020-03-12 09:34:52 +01:00
bus.c usb: typec: Give the mux drivers all the details regarding the port state 2020-01-09 10:50:13 +01:00
bus.h usb: typec: Registering real device entries for the muxes 2019-06-03 10:55:38 +02:00
class.c usb: typec: Give the mux drivers all the details regarding the port state 2020-01-09 10:50:13 +01:00
hd3ss3220.c usb: typec: hd3ss3220: Give the connector fwnode to the port device 2019-11-04 16:03:36 +01:00
Kconfig usb: typec: add dependency for TYPEC_HD3SS3220 2019-10-10 12:34:05 +02:00
Makefile usb: typec: driver for TI HD3SS3220 USB Type-C DRP port controller 2019-10-04 14:18:48 +02:00
mux.c usb: typec: fix non-kernel-doc comments 2020-01-08 16:55:43 +01:00
tps6598x.c usb: typec: tps6598x: Start using struct typec_operations 2019-11-04 16:03:34 +01:00