From: Roland Stigge Date: Wed, 8 Feb 2012 20:41:05 +0000 (+0100) Subject: ARM: LPC32xx: clock.c: Fix mutex lock issues X-Git-Tag: v3.4-rc1~93^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93d199a13a6fb8db05d851a1afa8bf938a307be4;p=pandora-kernel.git ARM: LPC32xx: clock.c: Fix mutex lock issues This patch fixes the mutex issue in clock.c, as done in Kevin Wells' original driver update: In some cases, the clock drivers could grab a mutex twice in an improper context. This patch changes the mutex mechanism to a simple irq lock/unlock mechanism and removes un-needed locks from some functions. (See also git.lpclinux.com) Signed-off-by: Roland Stigge Tested-by: Wolfram Sang Acked-by: Kevin Wells Signed-off-by: Olof Johansson --- Reading git-diff-tree failed