struct edid *edid;
        int ret;
 
-       edid = drm_bridge_get_edid(dvi->next_bridge, connector);
-       if (IS_ERR_OR_NULL(edid)) {
-               if (edid != ERR_PTR(-ENOTSUPP))
+       if (dvi->next_bridge->ops & DRM_BRIDGE_OP_EDID) {
+               edid = drm_bridge_get_edid(dvi->next_bridge, connector);
+               if (!edid)
                        DRM_INFO("EDID read failed. Fallback to standard modes\n");
+       } else {
+               edid = NULL;
+       }
 
+       if (!edid) {
                /*
                 * No EDID, fallback on the XGA standard modes and prefer a mode
                 * pretty much anything can handle.
 
  *
  * If the bridge supports output EDID retrieval, as reported by the
  * DRM_BRIDGE_OP_EDID bridge ops flag, call &drm_bridge_funcs.get_edid to
- * get the EDID and return it. Otherwise return ERR_PTR(-ENOTSUPP).
+ * get the EDID and return it. Otherwise return NULL.
  *
  * RETURNS:
- * The retrieved EDID on success, or an error pointer otherwise.
+ * The retrieved EDID on success, or NULL otherwise.
  */
 struct edid *drm_bridge_get_edid(struct drm_bridge *bridge,
                                 struct drm_connector *connector)
 {
        if (!(bridge->ops & DRM_BRIDGE_OP_EDID))
-               return ERR_PTR(-ENOTSUPP);
+               return NULL;
 
        return bridge->funcs->get_edid(bridge, connector);
 }