AM335X: CPSW fix for recursive locking
authorChandan Nath <chandan.nath@ti.com>
Thu, 22 Sep 2011 05:51:52 +0000 (11:21 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:13:57 +0000 (00:43 +0530)
commitc536d899257c03b05b23294696520dbe316753d3
treea113dd7161c5840356fe9b2eff24a4955d9a0862
parente61ee4498e97889eede3716d47027159dffdc58f
AM335X: CPSW fix for recursive locking

This patch is added to remove recursive locking seen in
cpsw deinitializing function. spin_lock_irqsave() is called
recursively with same resource in both cpdma_chan_stop and
__cpdma_chan_process functions which leads to recursive locking
and so multiple locking is removed.

Signed-off-by: Chandan Nath <chandan.nath@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
drivers/net/ethernet/ti/davinci_cpdma.c