summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2025-12-02 21:54:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-01-06 00:59:58 +0300
commit2c6592221eb7812d7e2afd229c290bc79c2bfd04 (patch)
treed26fc2c95ac89013db3593dda557b08788d4bef2
parenta8936060a01715552cac818019ca5e88201a3b7b (diff)
downloadlinux-2c6592221eb7812d7e2afd229c290bc79c2bfd04.tar.xz
drm/amd/display: Update function name to link_detect_connection_type_analog
[WHAT] Update function "link_detect_analog" to a more accurate name "link_detect_connection_type_analog". Suggested-by: Wenjing Liu <wenjing.liu@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/link/link_detection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/link/link_detection.c b/drivers/gpu/drm/amd/display/dc/link/link_detection.c
index 080642dfde2a..bfb5c1c886a5 100644
--- a/drivers/gpu/drm/amd/display/dc/link/link_detection.c
+++ b/drivers/gpu/drm/amd/display/dc/link/link_detection.c
@@ -1365,7 +1365,7 @@ static bool detect_link_and_local_sink(struct dc_link *link,
}
/**
- * link_detect_analog() - Determines if an analog sink is connected.
+ * link_detect_connection_type_analog() - Determines if an analog sink is connected.
*
* @link: DC link to evaluate (must support analog signalling).
* @type: Updated with the detected connection type:
@@ -1375,7 +1375,7 @@ static bool detect_link_and_local_sink(struct dc_link *link,
*
* Return: true if detection completed.
*/
-static bool link_detect_analog(struct dc_link *link, enum dc_connection_type *type)
+static bool link_detect_connection_type_analog(struct dc_link *link, enum dc_connection_type *type)
{
/* Don't care about connectors that don't support an analog signal. */
ASSERT(dc_connector_supports_analog(link->link_id.id));
@@ -1417,7 +1417,7 @@ bool link_detect_connection_type(struct dc_link *link, enum dc_connection_type *
* (So it's high even when no display is connected.)
*/
if (dc_connector_supports_analog(link->link_id.id))
- return link_detect_analog(link, type);
+ return link_detect_connection_type_analog(link, type);
if (link->connector_signal == SIGNAL_TYPE_EDP) {
/*in case it is not on*/