kernel_optimize_test/drivers/platform/chrome
Prashant Malani 6a40e3f9a8 platform/chrome: cros_ec_typec: Add DP mode check
[ Upstream commit c5bb32f57bf3a30ed03be51f7be0840325ba8b4a ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-22 11:40:53 +02:00
..
wilco_ec
chromeos_laptop.c
chromeos_pstore.c
chromeos_tbmc.c
cros_ec_chardev.c
cros_ec_debugfs.c
cros_ec_i2c.c
cros_ec_ishtp.c
cros_ec_lightbar.c
cros_ec_lpc_mec.c
cros_ec_lpc_mec.h
cros_ec_lpc.c
cros_ec_proto.c
cros_ec_rpmsg.c
cros_ec_sensorhub_ring.c
cros_ec_sensorhub.c
cros_ec_spi.c
cros_ec_sysfs.c
cros_ec_trace.c
cros_ec_trace.h
cros_ec_typec.c platform/chrome: cros_ec_typec: Add DP mode check 2021-05-22 11:40:53 +02:00
cros_ec_vbc.c
cros_ec.c
cros_ec.h
cros_kbd_led_backlight.c
cros_usbpd_logger.c
cros_usbpd_notify.c
Kconfig
Makefile