summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-18 00:02:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-18 00:02:33 +0000
commitb4b9b71b6afe84feeec6afcc50c5dde52e0579cc (patch)
treecd023ac6b1be0619ce3a31898ebc7793d390959a /sys/dev/pci
parent1d3dbaa05d994be399a6f47a1ac1b8828af8f2dc (diff)
drm/amd/display: Revert "Check HDCP returned status"
From Alex Hung 939b4b2c008d4c620b8127bfd12cb22e40447141 in linux-6.6.y/6.6.57 bc2fe69f16c7122b5dabc294aa2d6065d8da2169 in mainline linux
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c b/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
index b7da7037fe0..cee5e9e64ae 100644
--- a/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
+++ b/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
@@ -432,18 +432,18 @@ static enum mod_hdcp_status authenticated_dp(struct mod_hdcp *hdcp,
goto out;
}
- if (!mod_hdcp_execute_and_set(mod_hdcp_read_bstatus,
+ mod_hdcp_execute_and_set(mod_hdcp_read_bstatus,
&input->bstatus_read, &status,
- hdcp, "bstatus_read"))
- goto out;
- if (!mod_hdcp_execute_and_set(check_link_integrity_dp,
+ hdcp, "bstatus_read");
+
+ mod_hdcp_execute_and_set(check_link_integrity_dp,
&input->link_integrity_check, &status,
- hdcp, "link_integrity_check"))
- goto out;
- if (!mod_hdcp_execute_and_set(check_no_reauthentication_request_dp,
+ hdcp, "link_integrity_check");
+
+ mod_hdcp_execute_and_set(check_no_reauthentication_request_dp,
&input->reauth_request_check, &status,
- hdcp, "reauth_request_check"))
- goto out;
+ hdcp, "reauth_request_check");
+
out:
return status;
}