From: Ben Widawsky Date: Wed, 26 Sep 2012 23:15:20 +0000 (-0700) Subject: drm/i915: Fix set_caching locking X-Git-Tag: v3.7-rc1~86^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bc2913e2cb74aac8af90b46fa251dfb8d854665;p=pandora-kernel.git drm/i915: Fix set_caching locking On the EINVAL case we don't release struct_mutex. It should be safe to grab the lock after checking the parameters, which also resolves the issues. Signed-off-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed