]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/display: fix spelling mistake link_integiry_check -> link_integrity_check
authorColin Ian King <colin.king@canonical.com>
Tue, 28 Jan 2020 11:28:27 +0000 (11:28 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jan 2020 22:15:42 +0000 (17:15 -0500)
There is a spelling mistake on the struct field name link_integiry_check,
fix this by renaming it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_transition.c

index f98d3d9ecb6dfa912f028675d9601b7d438eff60..af78e4f1be686a02730a4c2b289bd5bcb4fcc1bb 100644 (file)
@@ -63,7 +63,7 @@ struct mod_hdcp_transition_input_hdcp1 {
        uint8_t hdcp_capable_dp;
        uint8_t binfo_read_dp;
        uint8_t r0p_available_dp;
-       uint8_t link_integiry_check;
+       uint8_t link_integrity_check;
        uint8_t reauth_request_check;
        uint8_t stream_encryption_dp;
 };
index 04845e43df15c8896439a5e6819a21cd3d6cf7fa..37670db6485562dc5f5f8c8738966c5c47fc20ca 100644 (file)
@@ -283,8 +283,8 @@ static enum mod_hdcp_status wait_for_ready(struct mod_hdcp *hdcp,
                                hdcp, "bstatus_read"))
                        goto out;
                if (!mod_hdcp_execute_and_set(check_link_integrity_dp,
-                               &input->link_integiry_check, &status,
-                               hdcp, "link_integiry_check"))
+                               &input->link_integrity_check, &status,
+                               hdcp, "link_integrity_check"))
                        goto out;
                if (!mod_hdcp_execute_and_set(check_no_reauthentication_request_dp,
                                &input->reauth_request_check, &status,
@@ -431,8 +431,8 @@ static enum mod_hdcp_status authenticated_dp(struct mod_hdcp *hdcp,
                        hdcp, "bstatus_read"))
                goto out;
        if (!mod_hdcp_execute_and_set(check_link_integrity_dp,
-                       &input->link_integiry_check, &status,
-                       hdcp, "link_integiry_check"))
+                       &input->link_integrity_check, &status,
+                       hdcp, "link_integrity_check"))
                goto out;
        if (!mod_hdcp_execute_and_set(check_no_reauthentication_request_dp,
                        &input->reauth_request_check, &status,
index 21ebc62bb9d9e150d423b28a026974ddfef3d14c..76edcbe51f71c1352d0eae3e97c271942ca7e3a1 100644 (file)
@@ -241,7 +241,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp,
                }
                break;
        case D1_A4_AUTHENTICATED:
-               if (input->link_integiry_check != PASS ||
+               if (input->link_integrity_check != PASS ||
                                input->reauth_request_check != PASS) {
                        /* 1A-07: restart hdcp on a link integrity failure */
                        fail_and_restart_in_ms(0, &status, output);
@@ -249,7 +249,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp,
                }
                break;
        case D1_A6_WAIT_FOR_READY:
-               if (input->link_integiry_check == FAIL ||
+               if (input->link_integrity_check == FAIL ||
                                input->reauth_request_check == FAIL) {
                        fail_and_restart_in_ms(0, &status, output);
                        break;