Message ID | 20210726131509.280913-9-kai.heng.feng@canonical.com |
---|---|
State | New |
Headers | show |
Series | [I/Unstable/OEM-5.13,01/10] platform/x86: amd-pmc: Fix command completion code | expand |
diff --git a/drivers/platform/x86/amd-pmc.c b/drivers/platform/x86/amd-pmc.c index d2f9a62e11660..680f94c7e075b 100644 --- a/drivers/platform/x86/amd-pmc.c +++ b/drivers/platform/x86/amd-pmc.c @@ -353,7 +353,7 @@ static int __maybe_unused amd_pmc_suspend(struct device *dev) if (rc) dev_err(pdev->dev, "suspend failed\n"); - return 0; + return rc; } static int __maybe_unused amd_pmc_resume(struct device *dev)