From: Imre Deak Date: Wed, 16 Oct 2013 14:25:50 +0000 (+0300) Subject: drm/i915: change power_well->lock to be mutex X-Git-Tag: v3.13-rc1~76^2~11^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959cbc1b8a2534bb930d237ee164893a4936a4d6;p=pandora-kernel.git drm/i915: change power_well->lock to be mutex There is no hard need for this to be a spin lock, as we don't take these locks in irq context from anywhere. An upcoming patch will add calls to punit read/write functions from within regions protected by this lock and those functions need a mutex in turn. As a solution for that convert the spin lock to be a mutex. Signed-off-by: Imre Deak Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed