From af6bd04d6843c48eeccc1fc070e77330b24fb2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kope=C4=87?= Date: Thu, 30 Oct 2025 16:19:54 +0100 Subject: [PATCH] common/power.c: Reset USB-PD on host reset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This improves device detection after a reboot with the Wavlink UMD05 Pro USB-C docking station (Rev. E). Signed-off-by: Michał Kopeć --- src/board/system76/common/power.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/board/system76/common/power.c b/src/board/system76/common/power.c index 0e6f446..0dfd904 100644 --- a/src/board/system76/common/power.c +++ b/src/board/system76/common/power.c @@ -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