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
parent
73b031df61
commit
4f0841a31c
|
@ -501,6 +501,5 @@ out:
|
|||
|
||||
failed:
|
||||
DRM_DEBUG("No LVDS modes found, disabling.\n");
|
||||
// intel_lvds_destroy(output);
|
||||
// drm_output_destroy(output);
|
||||
drm_output_destroy(output); /* calls intel_lvds_destroy above */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue