diff options
author | Prashant Malani <pmalani@chromium.org> | 2021-04-20 10:10:09 -0700 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2021-04-20 19:35:42 +0200 |
commit | 670160fea22c587b384d56698bbb661fa4801534 (patch) | |
tree | 86cca202b3e4e586549f00420c6ab10c65827848 /drivers/pwm/pwm-stm32-lp.c | |
parent | c6e939c63c80c26460b25cf1150ebe8396e8adcf (diff) |
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: 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
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions