platform/x86: amd-pmc: Use return code on suspend
Right now the driver will still return success even if the OS_HINT command failed to send to the SMU. In the rare event of a failure, the suspend should really be aborted here so that relevant logs can may be captured. Signed-off-by: NMario Limonciello <mario.limonciello@amd.com> Acked-by: NShyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://lore.kernel.org/r/20210707141647.8871-1-mario.limonciello@amd.comSigned-off-by: NHans de Goede <hdegoede@redhat.com>
Showing
想要评论请 注册 或 登录