Skip to content

Commit af6bd04

Browse files
mkopecfilipleple
authored andcommitted
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>
1 parent 4885800 commit af6bd04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/board/system76/common/power.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,8 @@ void power_cpu_reset(void) {
473473
// Set GPIO MUX_CTRL_BIOS to choose between iGPU and dGPU
474474
set_mux_ctrl();
475475
#endif //HAVE_DGPU
476+
// Reset USB-PD device
477+
usbpd_reset();
476478
// LPC was just reset, enable PNP devices
477479
pnp_enable();
478480
// Reset ACPI registers

0 commit comments

Comments
 (0)