Re: [PATCH] tda998x: Check ref count before invoking drm_connector_cleanup in unbind

2018-04-13 Thread Russell King - ARM Linux
On Thu, Apr 12, 2018 at 03:42:32PM +0100, Ayan Kumar Halder wrote: > In a situation when the reference count of the drm connector is greater than > 1, > the unbind function should not invoke drm_connector_cleanup as this will lead > to an inconsistent state where the

[PATCH] tda998x: Check ref count before invoking drm_connector_cleanup in unbind

2018-04-12 Thread Ayan Kumar Halder
In a situation when the reference count of the drm connector is greater than 1, the unbind function should not invoke drm_connector_cleanup as this will lead to an inconsistent state where the drm_crtc_state->connector_mask still has a bitmask referring to the stale connector. Later, when drm