brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0092-drm-vc4-Force-HDMI-to-connected.patch
1 From aa579c7485e1bae681c50b223e89cd658dd0b2c1 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Wed, 14 Oct 2015 11:32:14 -0700
4 Subject: [PATCH 092/170] drm/vc4: Force HDMI to connected.
5
6 For some reason on the downstream tree, the HPD GPIO isn't working.
7
8 Signed-off-by: Eric Anholt <eric@anholt.net>
9 ---
10 drivers/gpu/drm/vc4/vc4_hdmi.c | 2 ++
11 1 file changed, 2 insertions(+)
12
13 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
14 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
15 @@ -164,6 +164,8 @@ vc4_hdmi_connector_detect(struct drm_con
16 struct drm_device *dev = connector->dev;
17 struct vc4_dev *vc4 = to_vc4_dev(dev);
18
19 + return connector_status_connected;
20 +
21 if (vc4->hdmi->hpd_gpio) {
22 if (gpio_get_value(vc4->hdmi->hpd_gpio))
23 return connector_status_connected;