From: Daniel Vetter Date: Wed, 29 Jul 2015 06:32:43 +0000 (+0200) Subject: drm: Fixup locking WARNINGs in drm_mode_config_reset X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~32^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8c2ba316b64b02e43738c41b07a5d9319165f99;p=pandora-kernel.git drm: Fixup locking WARNINGs in drm_mode_config_reset With commit 7a3f3d6667f5f9ffd1517f6b21d64bbf5312042c Author: Daniel Vetter Date: Thu Jul 9 23:44:28 2015 +0200 drm: Check locking in drm_for_each_connector we started checking the locking in drm_for_each_connector but somehow I totally missed drm_mode_config_reset. There's no problem there since this function should only be called in single-threaded contexts (driver load or resume), so just wrap the loop with the right lock. v2: Drink coffee and all that ... Cc: Laurent Pinchart Reported-by: Laurent Pinchart Tested-by: Laurent Pinchart Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed