Merge remote-tracking branch 'drm/drm-next' into drm-misc-next-fixes
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 26 Jun 2019 10:22:54 +0000 (12:22 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 26 Jun 2019 10:22:54 +0000 (12:22 +0200)
Some fixes have been accidentally pushed to this, so I cannot fost-forward.
Required to pull in the remove-fbcon-notifiers fixes.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
1  2 
drivers/gpu/drm/bridge/ti-tfp410.c

  #include <linux/delay.h>
  #include <linux/fwnode.h>
  #include <linux/gpio/consumer.h>
+ #include <linux/i2c.h>
  #include <linux/irq.h>
  #include <linux/module.h>
  #include <linux/of_graph.h>
  #include <linux/platform_device.h>
- #include <linux/i2c.h>
  
- #include <drm/drmP.h>
  #include <drm/drm_atomic_helper.h>
  #include <drm/drm_crtc.h>
+ #include <drm/drm_print.h>
  #include <drm/drm_probe_helper.h>
  
  #define HOTPLUG_DEBOUNCE_MS           1100
@@@ -70,12 -70,7 +70,12 @@@ static int tfp410_get_modes(struct drm_
  
        drm_connector_update_edid_property(connector, edid);
  
 -      return drm_add_edid_modes(connector, edid);
 +      ret = drm_add_edid_modes(connector, edid);
 +
 +      kfree(edid);
 +
 +      return ret;
 +
  fallback:
        /* No EDID, fallback on the XGA standard modes */
        ret = drm_add_modes_noedid(connector, 1920, 1200);
@@@ -381,8 -376,7 +381,8 @@@ static int tfp410_fini(struct device *d
  {
        struct tfp410 *dvi = dev_get_drvdata(dev);
  
 -      cancel_delayed_work_sync(&dvi->hpd_work);
 +      if (dvi->hpd_irq >= 0)
 +              cancel_delayed_work_sync(&dvi->hpd_work);
  
        drm_bridge_remove(&dvi->bridge);