From: Sebastian Siewior Date: Tue, 23 Apr 2013 07:31:35 +0000 (+0000) Subject: net/davinci_cpdma: don't check for jiffies with interrupts X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=817f6d1a13754b043e1a6c1cb713763022860689;p=pandora-kernel.git 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 Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: David S. Miller --- Reading git-diff-tree failed