mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 08:58:02 +02:00
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.
This commit is contained in:
parent
73b031df61
commit
4f0841a31c
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue