Just use drm_output_destroy to cleanup LVDS failures. It'll call our cleanup

routine, which will take care of freeing our dev_priv and i2c ddc bus.
main
Jesse Barnes 2007-04-17 18:03:14 -07:00
parent 73b031df61
commit 4f0841a31c
1 changed files with 1 additions and 2 deletions

View File

@ -501,6 +501,5 @@ out:
failed: failed:
DRM_DEBUG("No LVDS modes found, disabling.\n"); DRM_DEBUG("No LVDS modes found, disabling.\n");
// intel_lvds_destroy(output); drm_output_destroy(output); /* calls intel_lvds_destroy above */
// drm_output_destroy(output);
} }