Skip to contentSkip to conversation

drm/amd/display: rename variable eanble -> enable

PATCH Applied Colin King 2 participants 2 messages Sep 13, 2019

Subsystems (4)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 drm/amd/display: rename variable eanble -> enable

From: Colin Ian King <[email protected]>

There is a spelling mistake in the variable name eanble, rename it to enable.

---
 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c +4 -4
index 1488ffddf4e3..5944524faab9 100644
@@ -606,11 +606,11 @@ static void dce_mi_allocate_dmif(
 	}
 
 	if (dce_mi->wa.single_head_rdreq_dmif_limit) {
-		uint32_t eanble =  (total_stream_num > 1) ? 0 :
+		uint32_t enable =  (total_stream_num > 1) ? 0 :
 				dce_mi->wa.single_head_rdreq_dmif_limit;
 
 		REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
-				ENABLE, eanble);
+				ENABLE, enable);
 	}
 }
 
@@ -636,11 +636,11 @@ static void dce_mi_free_dmif(
 			10, 3500);
 
 	if (dce_mi->wa.single_head_rdreq_dmif_limit) {
-		uint32_t eanble =  (total_stream_num > 1) ? 0 :
+		uint32_t enable =  (total_stream_num > 1) ? 0 :
 				dce_mi->wa.single_head_rdreq_dmif_limit;
 
 		REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
-				ENABLE, eanble);
+				ENABLE, enable);
 	}
 }
 
Signature · 1 line
2.20.1
Applied
#1 lore raw
Quoted 7 lines · Colin King

From: Colin Ian King <[email protected]>

There is a spelling mistake in the variable name eanble, rename it to enable.

Applied. thanks!

Alex

Quoted 39 lines
---
 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c +4 -5
index 1488ffddf4e3..5944524faab9 100644
@@ -606,11 +606,11 @@ static void dce_mi_allocate_dmif(
        }
 
        if (dce_mi->wa.single_head_rdreq_dmif_limit) {
-               uint32_t eanble =  (total_stream_num > 1) ? 0 :
+               uint32_t enable =  (total_stream_num > 1) ? 0 :
                                dce_mi->wa.single_head_rdreq_dmif_limit;
 
                REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
-                               ENABLE, eanble);
+                               ENABLE, enable);
        }
 }
 
@@ -636,11 +636,11 @@ static void dce_mi_free_dmif(
                        10, 3500);
 
        if (dce_mi->wa.single_head_rdreq_dmif_limit) {
-               uint32_t eanble =  (total_stream_num > 1) ? 0 :
+               uint32_t enable =  (total_stream_num > 1) ? 0 :
                                dce_mi->wa.single_head_rdreq_dmif_limit;
 
                REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
-                               ENABLE, eanble);
+                               ENABLE, enable);
        }
 }
 
--

2.20.1

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx