diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2020-03-11 16:00:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-12 09:34:52 +0100 |
commit | 081da1325d351ea8804cf74e65263ea120834f33 (patch) | |
tree | d6bca49f9e270eafe981c38cba7c070611d12fcc /arch/arm/nwfpe/fpmodule.h | |
parent | d16e7b62c5adcd13832c6b0ba364c3468d21b856 (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: 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>
Diffstat (limited to 'arch/arm/nwfpe/fpmodule.h')
0 files changed, 0 insertions, 0 deletions