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

Some devices use combo PHYs (i.e. USB3 + DisplayPort), which also
handle the lane muxing. These PHYs are referenced twice from
the USB-C connector (USB super-speed lines and SBU/AUX lines)
resulting in the mux 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-2-0402fefc222e@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux.c