Re: [PATCH 1/1] drm/sun4i: hdmi: Remove duplicate cleanup calls

2019-12-18 Thread Maxime Ripard
On Tue, Dec 17, 2019 at 02:46:32PM +0200, Stefan Mavrodiev wrote: > When the HDMI unbinds drm_connector_cleanup() and drm_encoder_cleanup() > are called. This also happens when the connector and the encoder are > destroyed. This double call triggers a NULL pointer exception. > > The patch fixes thi

[PATCH 1/1] drm/sun4i: hdmi: Remove duplicate cleanup calls

2019-12-18 Thread Stefan Mavrodiev
When the HDMI unbinds drm_connector_cleanup() and drm_encoder_cleanup() are called. This also happens when the connector and the encoder are destroyed. This double call triggers a NULL pointer exception. The patch fixes this by removing the cleanup calls in the unbind function. Signed-off-by: Ste