drm/amd/display: set default GPIO_ID_HPD
authorCharlene Liu <charlene.liu@amd.com>
Fri, 22 Jun 2018 01:32:36 +0000 (21:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:49:59 +0000 (14:49 -0500)
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>
drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c

index ab5483c0c502cedbe04e83375a04da6799a5c12a..f20161c5706d7278cc0c48f92eedebf0bdf0ce73 100644 (file)
@@ -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;
        }