CRISv32: ETRAXFS: Fix recursive spinlock
authorJesper Nilsson <jespern@axis.com>
Mon, 27 Oct 2014 08:11:31 +0000 (09:11 +0100)
committerJesper Nilsson <jespern@axis.com>
Fri, 19 Dec 2014 23:06:04 +0000 (00:06 +0100)
Move pinmux alloc/dealloc code into functions that don't take
the spinlock so we can use from code that has the spinlock already.

CRISv32 has no working SMP, so spinlocks becomes a NOP,
so deadlock was never seen.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>

No differences found