drm/amd/pm: fix return value in aldebaran_set_mp1_state()
authorFeifei Xu <Feifei.Xu@amd.com>
Thu, 20 May 2021 09:46:03 +0000 (17:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 May 2021 21:59:47 +0000 (17:59 -0400)
commit5051cb794ac5d92154e186d87cdc12cba613f4f6
treea79bc78c84e8d86eaf2ddacca1c2cc8bcd4c68ef
parentc15e2739b88704a3b001b855b964ea500961154c
drm/amd/pm: fix return value in aldebaran_set_mp1_state()

For default cases,we should return 0. Otherwise resume will
abort because of the wrong return value.

Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c