mirror of
https://github.com/Dasharo/ec.git
synced 2026-06-13 10:16:44 -07:00
common/power.c: Reset USB-PD on host reset
This improves device detection after a reboot with the Wavlink UMD05 Pro USB-C docking station (Rev. E). Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
This commit is contained in:
committed by
Filip Lewiński
parent
48858004a5
commit
af6bd04d68
@@ -473,6 +473,8 @@ void power_cpu_reset(void) {
|
||||
// Set GPIO MUX_CTRL_BIOS to choose between iGPU and dGPU
|
||||
set_mux_ctrl();
|
||||
#endif //HAVE_DGPU
|
||||
// Reset USB-PD device
|
||||
usbpd_reset();
|
||||
// LPC was just reset, enable PNP devices
|
||||
pnp_enable();
|
||||
// Reset ACPI registers
|
||||
|
||||
Reference in New Issue
Block a user