From: Rafael J. Wysocki Date: Wed, 24 Aug 2011 19:40:56 +0000 (+0200) Subject: PM: Use spinlock instead of mutex in clock management functions X-Git-Tag: v3.1-rc4~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7ab83edba2d50583bc9520431618489379718b2;p=pandora-kernel.git PM: Use spinlock instead of mutex in clock management functions The lock member of struct pm_clk_data is of type struct mutex, which is a problem, because the suspend and resume routines defined in drivers/base/power/clock_ops.c cannot be executed with interrupts disabled for this reason. Modify struct pm_clk_data so that its lock member is a spinlock. Signed-off-by: Rafael J. Wysocki Acked-by: Magnus Damm --- Reading git-diff-tree failed