summaryrefslogtreecommitdiffstats
path: root/lib/random32.c
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-02-08 21:41:05 +0100
committerOlof Johansson <olof@lixom.net>2012-02-09 16:00:33 -0800
commit93d199a13a6fb8db05d851a1afa8bf938a307be4 (patch)
tree7d6a2351696d1ca2b5622bebda64d6bb84f2fe76 /lib/random32.c
parent9862048abfe5fbd134553a8de30cf8767291fb1f (diff)
downloadtalos-obmc-linux-93d199a13a6fb8db05d851a1afa8bf938a307be4.tar.gz
talos-obmc-linux-93d199a13a6fb8db05d851a1afa8bf938a307be4.zip
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 <stigge@antcom.de> Tested-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Kevin Wells <kevin.wells@nxp.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud