From: Egbert Eich Date: Wed, 23 Sep 2015 14:13:00 +0000 (+0200) Subject: drm: Add a non-locking version of drm_kms_helper_poll_enable(), v2 X-Git-Tag: omap-for-v4.3/fixes-rc5~47^2~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ad640e99e5e5514d623210bc937e665ffd8f43f;p=pandora-kernel.git drm: Add a non-locking version of drm_kms_helper_poll_enable(), v2 drm_kms_helper_poll_enable() was converted to lock the mode_config mutex in commit 8c4ccc4ab6f64e859d4ff8d7c02c2ed2e956e07f ("drm/probe-helper: Grab mode_config.mutex in poll_init/enable"). This disregarded the cases where this function is called from a context where this mutex is already locked. Add a non-locking version as well. Changes since v1: - use function name suffix '_locked' for the function that is to be called from a locked context. Signed-off-by: Egbert Eich Reviewed-by: Daniel Vetter Signed-off-by: Jani Nikula --- Reading git-diff-tree failed