summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/core/dc_link.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-08-08 21:01:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:16:29 -0400
commit533ed6c708334b697254ff831972b657f5c98a40 (patch)
tree73a8d36ba04585a5d49590bb74694527db9f740c /drivers/gpu/drm/amd/display/dc/core/dc_link.c
parent7483bed45de728dacc7cfffe641e67abb3513f61 (diff)
drm/amd/display: Fix warnings about uninitialized use
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/core/dc_link.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index 72eb6af62f45..b858fec72bd7 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -541,7 +541,7 @@ bool dc_link_detect(struct dc_link *link, bool boot)
struct audio_support *aud_support = &link->dc->res_pool->audio_support;
enum dc_edid_status edid_status;
struct dc_context *dc_ctx = link->ctx;
- struct dc_sink *sink;
+ struct dc_sink *sink = NULL;
enum dc_connection_type new_connection_type = dc_connection_none;
if (link->connector_signal == SIGNAL_TYPE_VIRTUAL)