From patchwork Fri Feb 2 21:37:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominik Behr X-Patchwork-Id: 10198143 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AE68D603D7 for ; Fri, 2 Feb 2018 21:38:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 905EA28F5B for ; Fri, 2 Feb 2018 21:38:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8084728F85; Fri, 2 Feb 2018 21:38:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0B79728F5B for ; Fri, 2 Feb 2018 21:38:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E3D46F13A; Fri, 2 Feb 2018 21:38:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x241.google.com (mail-pl0-x241.google.com [IPv6:2607:f8b0:400e:c01::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id B34976F13A for ; Fri, 2 Feb 2018 21:38:26 +0000 (UTC) Received: by mail-pl0-x241.google.com with SMTP id t4so7141234plo.0 for ; Fri, 02 Feb 2018 13:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=aZ+UM1hkueQIqstiuyoS4J5TSFNsNrYi6RII8VO4aXI=; b=IvCiqcrGIQoGVgRfwhtTSpYmp/xwillCdkkQ3D5Bn3B1GTOk4v9D7KU+NLdK1/UYB2 Hf6SWIb3lSKaowePX4/hYrsmUcBI60tNUUkTPJnkTLTwziMQDbnnxruupc7g+9kGkBku AR/H9IhySZ/j+3ISAZxOKnDLxXMmtEURTNe6Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=aZ+UM1hkueQIqstiuyoS4J5TSFNsNrYi6RII8VO4aXI=; b=g5MLmA8WNNMeLhIQuaJ/IGe8DAzgzaqaHx4vYs/MxaHuQt0b0Eve2b+HNNbz8qJndQ AdiXdl1YcGEnMGh8vW9jWZQfG/YcbHkKyZQawnJfJ5i5SbcUZ+uPTR/oWiyKX4eVeOa1 xkiUwfiSnz/Uwfh7NcNbRXCY0MGRHaULsde6w6bs3h5VYMJ7IN2076ugyAUqfQsRMKLU oLXxLBHbv75twtZUGrcqUBwRVLEWAodhRHGFMfZ8IHjjc2EqA4fSTBiwslb5DPuWQzDm kBY1AVp2Kivy9Fn6rWNXBboJAVkJqb8fEPxs60fD+V2sHyFW97AikPTBpNcZsStgnwem WUUw== X-Gm-Message-State: AKwxyte5EAk+njZjrviLPT/2d3MJ47lXgLhkYKQYNl9qGbgFona3Rxjo sh/8o/Ug3VDys2RgkxYQgbc6Mclo/60= X-Google-Smtp-Source: AH8x226+uoMpnju9iwjA25uzy6tdUPfrqtGZDDGlX7avVFN+crdyRP7786q+3mD18EMWQyKhARCr/Q== X-Received: by 2002:a17:902:4523:: with SMTP id m32-v6mr27877934pld.449.1517607506300; Fri, 02 Feb 2018 13:38:26 -0800 (PST) Received: from dbehr.mtv.corp.google.com ([2620:0:1000:1500:a2af:17f9:a481:da98]) by smtp.gmail.com with ESMTPSA id o186sm4388472pga.16.2018.02.02.13.38.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 13:38:25 -0800 (PST) From: dbehr@chromium.org To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/amdgpu/display: fix wrong enum initializer Date: Fri, 2 Feb 2018 13:37:24 -0800 Message-Id: <20180202213725.35978-1-dbehr@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexander.deucher@amd.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Dominik Behr Signed-off-by: Dominik Behr --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 33d91e4474ea..a83f7b83ce0f 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -1926,7 +1926,7 @@ bool dc_link_handle_hpd_rx_irq(struct dc_link *link, union hpd_irq_data *out_hpd { union hpd_irq_data hpd_irq_dpcd_data = {{{{0}}}}; union device_service_irq device_service_clear = { { 0 } }; - enum dc_status result = DDC_RESULT_UNKNOWN; + enum dc_status result = DC_OK; bool status = false; /* For use cases related to down stream connection status change, * PSR and device auto test, refer to function handle_sst_hpd_irq