drm/amd/pm: fix the return value of pm message
authorHuang Rui <ray.huang@amd.com>
Tue, 12 Jan 2021 10:22:47 +0000 (18:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:48:34 +0000 (23:48 -0500)
commit966737906ce063e5d7314aa12664970a1949eb02
tree4a20415a6425638a3227cff859bac97d93244566
parent743538838c6a6b368ef58cad9528b15615e4ec33
drm/amd/pm: fix the return value of pm message

0 should be right driver return value, 0x1 is the right firmware
return value. So switch to 0 at last.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Xiaojian Du <xiaojian.du@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c