diff options
Diffstat (limited to 'drivers/gpu/drm/ast')
-rw-r--r-- | drivers/gpu/drm/ast/ast_mode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index 7282c081fb53..866e9d48b2d4 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c | |||
@@ -737,6 +737,7 @@ static int ast_get_modes(struct drm_connector *connector) | |||
737 | if (edid) { | 737 | if (edid) { |
738 | drm_mode_connector_update_edid_property(&ast_connector->base, edid); | 738 | drm_mode_connector_update_edid_property(&ast_connector->base, edid); |
739 | ret = drm_add_edid_modes(connector, edid); | 739 | ret = drm_add_edid_modes(connector, edid); |
740 | kfree(edid); | ||
740 | return ret; | 741 | return ret; |
741 | } else | 742 | } else |
742 | drm_mode_connector_update_edid_property(&ast_connector->base, NULL); | 743 | drm_mode_connector_update_edid_property(&ast_connector->base, NULL); |