]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: typec: mux: avoid duplicated orientation switches
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 23 Feb 2026 18:27:38 +0000 (19:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2026 14:38:53 +0000 (15:38 +0100)
commita53b4f9c51a90a556bca129d632b81f49b1a4061
tree09cbe3c0b85d2321d7bf82ae199948b87d7fed1b
parentf2529d08fcb429ea01bb87c326342f41483f8b2f
usb: typec: mux: avoid duplicated orientation switches

Some devices use combo PHYs (i.e. USB3 + DisplayPort), which also
handle the orientation mux. These PHYs are referenced twice from
the USB-C connector (USB super-speed lines and SBU/AUX lines)
resulting in the switch being configured twice. Avoid this by
dropping duplicates.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20260223-typec-mux-duplication-fix-v2-1-0402fefc222e@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux.c