projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98268d4
)
drm/amdgpu: Clean up errors in mes_v11_0.c
author
Ran Sun
<sunran001@208suo.com>
Wed, 2 Aug 2023 07:24:40 +0000
(07:24 +0000)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 9 Aug 2023 13:43:42 +0000
(09:43 -0400)
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>
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
index 11fda318064fbc91a4c4b0e49ee627542ebc7b4c..6827d547042edf3f368abac29a8ed9231a8c33b0 100644
(file)
--- 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;