From: Russell King - ARM Linux Date: Mon, 3 Jan 2011 22:32:05 +0000 (+0000) Subject: ARM: PL08x: fix missed spin-unlock in pl08x_issue_pending() X-Git-Tag: v2.6.38-rc1~25^2~11^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c0bb43bbd02fba0b235f8993d1f175734fa8735;p=pandora-kernel.git ARM: PL08x: fix missed spin-unlock in pl08x_issue_pending() pl08x_issue_pending() returns with the spinlock locked and interrupts disabled if the channel is waiting for a physical DMA to become free. This is wrong - especially as pl08x_issue_pending() is an API function as it leads to deadlocks. Fix it to always return with the spinlock unlocked. Signed-off-by: Russell King Acked-by: Linus Walleij Signed-off-by: Dan Williams --- Reading git-diff-tree failed