1 From bfde336df6d52984f6eef6ad5e4981fe18c0dfcc Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Fri, 6 May 2016 12:43:25 -0700
4 Subject: [PATCH] Revert "drm/vc4: Force HDMI to connected."
6 Now that we have the HDMI HPD GPIOs correctly identified in the DT, we
7 should be able to successfully detect HDMI.
9 This reverts commit fbec01e2d17b924d91850e17eeecf975e74c9ebf.
11 Signed-off-by: Eric Anholt <eric@anholt.net>
13 drivers/gpu/drm/vc4/vc4_hdmi.c | 2 --
14 1 file changed, 2 deletions(-)
16 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
17 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
18 @@ -166,8 +166,6 @@ vc4_hdmi_connector_detect(struct drm_con
19 struct drm_device *dev = connector->dev;
20 struct vc4_dev *vc4 = to_vc4_dev(dev);
22 - return connector_status_connected;
24 if (vc4->hdmi->hpd_gpio) {
25 if (gpio_get_value_cansleep(vc4->hdmi->hpd_gpio) ^
26 vc4->hdmi->hpd_active_low)