--- a/sys/dev/powermng/amdpm/amdpm.c 2026-09-23 05:16:43.061190844 +0000 +++ b/sys/dev/powermng/amdpm/amdpm.c 2026-09-23 05:16:43.089190478 +0000 @@ -316,7 +316,7 @@ error = SMB_ENOERR; - if (!count) + if (count < 0) error |= SMB_ETIMEOUT; if (sts & AMDSMB_GS_ABRT_STS)