linux-stable/drivers/usb/typec/ucsi
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
..
displayport.c usb: typec: ucsi: displayport: Fix a potential race during registration 2020-03-12 09:34:52 +01:00
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile usb: typec: ucsi: Support for DisplayPort alt mode 2019-04-25 11:04:55 +02:00
trace.c usb: typec: ucsi: Remove struct ucsi_control 2019-11-04 21:53:13 +01:00
trace.h usb: typec: ucsi: Remove all bit-fields 2019-11-04 21:53:14 +01:00
ucsi.c usb: typec: ucsi: fix spelling mistake "connetor" -> "connector" 2020-01-08 17:55:26 +01:00
ucsi.h Merge 5.5-rc6 into usb-next 2020-01-13 12:11:40 +01:00
ucsi_acpi.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
ucsi_ccg.c usb: typec: ucsi: add support for separate DP altmode devices 2019-12-30 20:11:32 +01:00