kernel: bump 5.15 to 5.15.62
[openwrt/staging/lynxis.git] / target / linux / bcm27xx / patches-5.15 / 950-0004-drm-vc4-hdmi-Remove-the-DDC-probing-for-status-detec.patch
index 4e6a10925370e791fddca3522332f30f56b6b546..83976961e044247ea9a1d109480255cd70211978 100644 (file)
@@ -36,10 +36,10 @@ Link: https://lore.kernel.org/r/20211025152903.1088803-2-maxime@cerno.tech
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -176,8 +176,6 @@ vc4_hdmi_connector_detect(struct drm_con
-       if (vc4_hdmi->hpd_gpio &&
-           gpiod_get_value_cansleep(vc4_hdmi->hpd_gpio)) {
-               connected = true;
+@@ -179,8 +179,6 @@ vc4_hdmi_connector_detect(struct drm_con
+       if (vc4_hdmi->hpd_gpio) {
+               if (gpiod_get_value_cansleep(vc4_hdmi->hpd_gpio))
+                       connected = true;
 -      } else if (drm_probe_ddc(vc4_hdmi->ddc)) {
 -              connected = true;
        } else if (HDMI_READ(HDMI_HOTPLUG) & VC4_HDMI_HOTPLUG_CONNECTED) {