summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/cpsw.c
diff options
context:
space:
mode:
authorSebastian Siewior <bigeasy@linutronix.de>2013-04-23 07:31:35 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-25 04:11:49 -0400
commit817f6d1a13754b043e1a6c1cb713763022860689 (patch)
tree80488896dae65d080e4463f2bf79efb8a0f9c617 /drivers/net/ethernet/ti/cpsw.c
parent2bac7cb316d1327c457a715bac5fd56bbc42bc63 (diff)
net/davinci_cpdma: don't check for jiffies with interrupts
__cpdma_chan_process() holds the lock with interrupts off (and its caller as well), same goes for cpdma_ctlr_start(). With interrupts off, jiffies will not make any progress and if the wait condition never gets true we wait for ever. Tgis patch adds a a simple udelay and counting down attempt. Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.c')
0 files changed, 0 insertions, 0 deletions