aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3857-drm-amd-dc-Add-dc-display-driver-v3.patch
blob: 0f49bc2613debedd29c575986d3f514fb28bd18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From fbd51b727114bed92174a59408fa029da27febd7 Mon Sep 17 00:00:00 2001
From: Harry Wentland <harry.wentland@amd.com>
Date: Tue, 12 Sep 2017 15:58:20 -0400
Subject: [PATCH 3857/4131] drm/amd/dc: Add dc display driver (v3)

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c b/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
index faa7979..80038e0 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
@@ -483,14 +483,14 @@ enum gpio_result dal_ddc_open(
 
 	result = dal_gpio_open_ex(ddc->pin_data, mode);
 
-	if (result != GPIO_RESULT_OK && result != GPIO_RESULT_ALREADY_OPENED) {
+	if (result != GPIO_RESULT_OK) {
 		BREAK_TO_DEBUGGER();
 		return result;
 	}
 
 	result = dal_gpio_open_ex(ddc->pin_clock, mode);
 
-	if (result != GPIO_RESULT_OK && result != GPIO_RESULT_ALREADY_OPENED) {
+	if (result != GPIO_RESULT_OK) {
 		BREAK_TO_DEBUGGER();
 		goto failure;
 	}
-- 
2.7.4