summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorCharlene Liu <charlene.liu@amd.com>2018-06-22 04:32:36 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-07-13 22:49:59 +0300
commit613cb725dc6cb6039b37d2b71c90a70d49780ce5 (patch)
tree8577ae104ad487f68b7c3767e1b624789df1a1c9 /drivers
parentabfa99f4d2f1d1a0018f8f39fc1958eda6a48dde (diff)
downloadlinux-613cb725dc6cb6039b37d2b71c90a70d49780ce5.tar.xz
drm/amd/display: set default GPIO_ID_HPD
Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c1
1 files changed, 1 insertions, 0 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 ab5483c0c502..f20161c5706d 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
@@ -375,6 +375,7 @@ struct gpio *dal_gpio_create_irq(
case GPIO_ID_GPIO_PAD:
break;
default:
+ id = GPIO_ID_HPD;
ASSERT_CRITICAL(false);
return NULL;
}