summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_drv.c
diff options
context:
space:
mode:
authorLaurent Pinchart2016-04-21 00:21:14 +0200
committerDaniel Vetter2016-04-21 09:17:24 +0200
commit14ba00316543bb67c81202fd475b605bfa410967 (patch)
tree2499e6e76afac4acb28592b5a0f5df6817752ce6 /drivers/gpu/drm/drm_drv.c
parentdrm: probe_helper: Hide ugly ifdef (diff)
downloadkernel-qcow2-linux-14ba00316543bb67c81202fd475b605bfa410967.tar.gz
kernel-qcow2-linux-14ba00316543bb67c81202fd475b605bfa410967.tar.xz
kernel-qcow2-linux-14ba00316543bb67c81202fd475b605bfa410967.zip
drm: Remove warning from drm_connector_unregister_all()
Commit 6c87e5c3ec6d ("drm: Rename drm_connector_unplug_all() to drm_connector_unregister_all()") replaced a manual connectors list walk in drm_connector_unregister_all() with drm_for_each_connector(). The list was walked without the mode config mutex locked as that ends up in a clash with sysfs, but drm_connector_unregister_all() warns when the mutex isn't locked. The problem is known and doesn't require a large warning every time drm_connector_unregister_all() is called. Fix it by reverting to manual list walk. Fixes: 6c87e5c3ec6d ("drm: Rename drm_connector_unplug_all() to drm_connector_unregister_all()") Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1461190874-32674-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
0 files changed, 0 insertions, 0 deletions