Skip to contentSkip to conversation

drm/amd/display: Clean up errors in dce110_timing_generator.c

PATCH Applied Ran Sun 2 participants 2 messages Aug 2, 2023 – Aug 7, 2023

Subsystems (3)
lore
Share & tools
lore

Ran Sun

author
#0 lore raw

PATCH 1/1 drm/amd/display: Clean up errors in dce110_timing_generator.c

Fix the following errors reported by checkpatch:

ERROR: spaces required around that '=' (ctx:WxV)

---
 .../gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c +2 -2
index 27cbb5b42c7e..6424e7f279dc 100644
@@ -288,7 +288,7 @@ bool dce110_timing_generator_program_timing_generator(
 
 	uint32_t vsync_offset = dc_crtc_timing->v_border_bottom +
 			dc_crtc_timing->v_front_porch;
-	uint32_t v_sync_start =dc_crtc_timing->v_addressable + vsync_offset;
+	uint32_t v_sync_start = dc_crtc_timing->v_addressable + vsync_offset;
 
 	uint32_t hsync_offset = dc_crtc_timing->h_border_right +
 			dc_crtc_timing->h_front_porch;
@@ -603,7 +603,7 @@ void dce110_timing_generator_program_blanking(
 {
 	uint32_t vsync_offset = timing->v_border_bottom +
 			timing->v_front_porch;
-	uint32_t v_sync_start =timing->v_addressable + vsync_offset;
+	uint32_t v_sync_start = timing->v_addressable + vsync_offset;
 
 	uint32_t hsync_offset = timing->h_border_right +
 			timing->h_front_porch;
Signature · 1 line
2.17.1
Applied
#1 lore raw

Applied. Thanks!

Quoted 35 lines · Ran Sun

Fix the following errors reported by checkpatch:

ERROR: spaces required around that '=' (ctx:WxV)

---
 .../gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c +2 -3
index 27cbb5b42c7e..6424e7f279dc 100644
@@ -288,7 +288,7 @@ bool dce110_timing_generator_program_timing_generator(
 
        uint32_t vsync_offset = dc_crtc_timing->v_border_bottom +
                        dc_crtc_timing->v_front_porch;
-       uint32_t v_sync_start =dc_crtc_timing->v_addressable + vsync_offset;
+       uint32_t v_sync_start = dc_crtc_timing->v_addressable + vsync_offset;
 
        uint32_t hsync_offset = dc_crtc_timing->h_border_right +
                        dc_crtc_timing->h_front_porch;
@@ -603,7 +603,7 @@ void dce110_timing_generator_program_blanking(
 {
        uint32_t vsync_offset = timing->v_border_bottom +
                        timing->v_front_porch;
-       uint32_t v_sync_start =timing->v_addressable + vsync_offset;
+       uint32_t v_sync_start = timing->v_addressable + vsync_offset;
 
        uint32_t hsync_offset = timing->h_border_right +
                        timing->h_front_porch;
--

2.17.1