diff options
author | Prashant Malani <pmalani@chromium.org> | 2021-04-21 07:21:09 +0300 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2021-04-21 10:33:35 +0300 |
commit | c5bb32f57bf3a30ed03be51f7be0840325ba8b4a (patch) | |
tree | d69f57a3eef05f22584d7cd0282fc3cac68a2a86 /lib/mpi/mpi-cmp.c | |
parent | 944b3a639573796debe3cd47298a5dd79810be73 (diff) | |
download | linux-c5bb32f57bf3a30ed03be51f7be0840325ba8b4a.tar.xz |
platform/chrome: cros_ec_typec: Add DP mode check
There are certain transitional situations where the dp_mode field in the
PD_CONTROL response might not be populated with the right DP pin
assignment value yet. Add a check for that to avoid sending an invalid
value to the Type C mode switch.
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20210421042108.2002-1-pmalani@chromium.org
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions