summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRan Sun <sunran001@208suo.com>2023-08-02 07:24:40 +0000
committerAlex Deucher <alexander.deucher@amd.com>2023-08-09 09:43:42 -0400
commit91aafa3c4e89509496b0d0d03f5735f1952dd5e8 (patch)
tree24b84456c96a2253f68134f4ccb667342d29db95 /drivers
parent98268d4033b6bb94cb554d82ca412fc9fd15febc (diff)
downloadlinux-stable-91aafa3c4e89509496b0d0d03f5735f1952dd5e8.tar.gz
linux-stable-91aafa3c4e89509496b0d0d03f5735f1952dd5e8.tar.bz2
linux-stable-91aafa3c4e89509496b0d0d03f5735f1952dd5e8.zip
drm/amdgpu: Clean up errors in mes_v11_0.c
Fix the following errors reported by checkpatch: ERROR: else should follow close brace '}' Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mes_v11_0.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
index 11fda318064f..6827d547042e 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
@@ -788,8 +788,7 @@ static int mes_v11_0_mqd_init(struct amdgpu_ring *ring)
DOORBELL_SOURCE, 0);
tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL,
DOORBELL_HIT, 0);
- }
- else
+ } else
tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL,
DOORBELL_EN, 0);
mqd->cp_hqd_pq_doorbell_control = tmp;