summaryrefslogtreecommitdiff
path: root/dev.c
AgeCommit message (Expand)AuthorFilesLines
2013-07-03dev: linktype: use ARPHRD_ETHER for "any" deviceDaniel Borkmann1-1/+3
2013-07-03pcap: support for various linktypesDaniel Borkmann1-0/+24
2013-06-20dev: mark paths likely/unlikelyDaniel Borkmann1-4/+4
2013-06-17dev: make paths unlikely, simplify codeDaniel Borkmann1-17/+11
2013-06-17dev: bail out if ifindex could not be retrievedDaniel Borkmann1-4/+4
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-1/+0
2013-06-04link: add link management functionsDaniel Borkmann1-0/+1
2013-06-04sock: add socket management functionsDaniel Borkmann1-0/+1
2013-06-04xutils: move device management functions out of xutilsDaniel Borkmann1-0/+169
rivate-remove&id=4e5b54f127426c82dc2816340c26d951a5bb3429'>4e5b54f127426c82dc2816340c26d951a5bb3429 (diff)
drm: Don't race connector registration
I was under the misconception that the sysfs dev stuff can be fully set up, and then registered all in one step with device_add. That's true for properties and property groups, but not for parents and child devices. Those must be fully registered before you can register a child. Add a bit of tracking to make sure that asynchronous mst connector hotplugging gets this right. For consistency we rely upon the implicit barriers of the connector->mutex, which is taken anyway, to ensure that at least either the connector or device registration call will work out. Mildly tested since I can't reliably reproduce this on my mst box here. Reported-by: Dave Hansen <dave.hansen@intel.com> Cc: Dave Hansen <dave.hansen@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1484237756-2720-1-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/dt-bindings/phy/phy-pistachio-usb.h')