commit | ce9ff418bbc71b16b4343c47bda888d6b147eeef | [log] [tgz] |
---|---|---|
author | Prashant Malani <pmalani@chromium.org> | Tue Apr 20 17:10:09 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 21 23:29:43 2021 |
tree | 1d41eb0675397e5b51b2baf2d968af36d1f6fa02 | |
parent | 1544680ebceb8ae0e4a82492276e098d4561d81c [diff] |
FROMGIT: platform/chrome: cros_ec_typec: Track port role Stash the currently reported port role in the port struct and add a check for that too while determining whether to re-configure on-board Type C switches (this deals with cases like role swaps where the mux flags don't change, but the port role does). Signed-off-by: YH Lin <yueherngl@chromium.org> Signed-off-by: Prashant Malani <pmalani@chromium.org> Suggested-by: Nikunj A. Dadhania <nikunj.dadhania@intel.com> Tested-by: Deepti Deshatty <deepti.deshatty@intel.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20210420171008.3829549-1-pmalani@chromium.org (cherry picked from commit 670160fea22c587b384d56698bbb661fa4801534 https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-kernelci) BUG=b:182826116 TEST=type.Basic passes 10/10 times on volteer. Change-Id: Ia1ffe706fa804f88a7e011395bcba727b331c569 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2837305 Commit-Queue: Prashant Malani <pmalani@chromium.org> Tested-by: Prashant Malani <pmalani@chromium.org> Reviewed-by: Sean Paul <seanpaul@chromium.org> Reviewed-by: Benson Leung <bleung@google.com> Reviewed-by: Dadhania Nikunj <nikunj.dadhania@intel.com> (cherry picked from commit 1385717b3a991072cc01f6286ae23782df222ce3) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2844429 Reviewed-by: Prashant Malani <pmalani@chromium.org>