diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_acpi.c b/drivers/gpu/drm/nouveau/nouveau_acpi.c index c17a055ee3e5..119152606e4c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_acpi.c +++ b/drivers/gpu/drm/nouveau/nouveau_acpi.c | |||
@@ -292,6 +292,6 @@ nouveau_acpi_edid(struct drm_device *dev, struct drm_connector *connector) | |||
292 | if (ret < 0) | 292 | if (ret < 0) |
293 | return ret; | 293 | return ret; |
294 | 294 | ||
295 | nv_connector->edid = edid; | 295 | nv_connector->edid = kmemdup(edid, EDID_LENGTH, GFP_KERNEL); |
296 | return 0; | 296 | return 0; |
297 | } | 297 | } |