From: Russell King Date: Mon, 16 Dec 2013 12:38:30 +0000 (+0000) Subject: imx-drm: imx-tve: don't call sleeping functions beneath enable_lock spinlock X-Git-Tag: v3.13-rc5~26^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd5121bbb6b9a89d9d13878fa5bb1e833168ae18;p=pandora-kernel.git imx-drm: imx-tve: don't call sleeping functions beneath enable_lock spinlock Enable lock claims that it is serializing tve_enable/disable calls. However, DRM already serialises mode sets with a mutex, which prevents encoder/connector functions being called concurrently. Secondly, holding a spinlock while calling clk_prepare_enable() is wrong; it will cause a might_sleep() warning should that debugging be enabled. So, let's just get rid of the enable_lock. Signed-off-by: Russell King Acked-by: Sascha Hauer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed