drm: tweak getconnector locking
authorRob Clark <robdclark@gmail.com>
Thu, 18 Dec 2014 21:01:48 +0000 (16:01 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Dec 2014 21:22:53 +0000 (22:22 +0100)
commitccfc08655d5fd5076828f45fb09194c070f2f63a
tree4c0517f82389396a148013197afe624218c65f68
parentac9c925616028f1f03f631f229bca49b3a92ce9a
drm: tweak getconnector locking

We need to hold connection_mutex as we read the properties.  Easiest
thing is just widen the scope where connection_mutex is held.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c