linux-xiaomi-chiron/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
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
Kconfig
Makefile
mux.c usb: typec: fix non-kernel-doc comments 2020-01-08 16:55:43 +01:00
tps6598x.c