Re: [PATCH 1/3] drm: bridge/panel: Cleanup connector on bridge detach

2021-01-18 Thread Laurent Pinchart
Hi Paul, Thank you for the patch. On Sun, Jan 17, 2021 at 11:26:44AM +, Paul Cercueil wrote: > If we don't call drm_connector_cleanup() manually in > panel_bridge_detach(), the connector will be cleaned up with the other > DRM objects in the call to drm_mode_config_cleanup(). However, since

[PATCH 1/3] drm: bridge/panel: Cleanup connector on bridge detach

2021-01-17 Thread Paul Cercueil
If we don't call drm_connector_cleanup() manually in panel_bridge_detach(), the connector will be cleaned up with the other DRM objects in the call to drm_mode_config_cleanup(). However, since our drm_connector is devm-allocated, by the time drm_mode_config_cleanup() will be called, our connector