[PATCH] drm: prevent double-(un)registration for connectors

2016-12-18 Thread Daniel Vetter
On Sun, Dec 18, 2016 at 02:35:45PM +0100, Daniel Vetter wrote: > If we're unlucky then the registration from a hotplugged connector > might race with the final registration step on driver load. And since > MST topology discover is asynchronous that's even somewhat likely. > > v2: Also update the k

[PATCH] drm: prevent double-(un)registration for connectors

2016-12-18 Thread Daniel Vetter
If we're unlucky then the registration from a hotplugged connector might race with the final registration step on driver load. And since MST topology discover is asynchronous that's even somewhat likely. v2: Also update the kerneldoc for @registered! v3: Review from Chris: - Improve kerneldoc for