forked from luck/tmp_suning_uos_patched
6a40e3f9a8
[ 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> |
||
---|---|---|
.. | ||
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 | ||
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 |