Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179893
b: refs/heads/master
c: b8780e2
h: refs/heads/master
i:
  179891: f4cdcdf
v: v3
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Jan 14, 2010
1 parent e43bc44 commit 300a116
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ed3165e55fdedee6fc04b757907a2d5ccacdf18
refs/heads/master: b8780e2ad20feb8d086bc961a678e8fdb4fa296b
8 changes: 6 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/nouveau_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,12 @@ nouveau_connector_detect(struct drm_connector *connector)
return connector_status_connected;
}

kfree(nv_connector->edid);
nv_connector->edid = NULL;
/* Cleanup the previous EDID block. */
if (nv_connector->edid) {
drm_mode_connector_update_edid_property(connector, NULL);
kfree(nv_connector->edid);
nv_connector->edid = NULL;
}

i2c = nouveau_connector_ddc_detect(connector, &nv_encoder);
if (i2c) {
Expand Down

0 comments on commit 300a116

Please sign in to comment.