]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/chrome: cros_ec_typec: Update partner altmode active
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Fri, 13 Dec 2024 23:35:46 +0000 (15:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Dec 2024 07:56:05 +0000 (08:56 +0100)
commit5b2f3305a92f3864f07bd67bad7fcc8f0c7adaba
tree0a5e97577ce5bef0606b477b1844460aea117ff7
parent5399a1bac6a8f67eb180ac900641c1836cc3c0dd
platform/chrome: cros_ec_typec: Update partner altmode active

Mux configuration is often the final piece of mode entry and can be used
to determine whether a partner altmode is active. When mux configuration
is done, use the active port altmode's SVID to set the partner active
field for all partner alt modes.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20241213153543.v5.5.I083bf9188947be8cb7460211cfdf3233370a28f6@changeid
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/chrome/cros_ec_typec.c