drm/amd/display: rename variable eanble -> enable
authorColin Ian King <colin.king@canonical.com>
Fri, 13 Sep 2019 08:02:48 +0000 (09:02 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:42:55 +0000 (10:42 -0500)
There is a spelling mistake in the variable name eanble,
rename it to enable.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c

index 31b698b..8aa937f 100644 (file)
@@ -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);
        }
 }