davinci-cpdma: fix locking issue in cpdma_chan_stop
authorIlya Yanok <yanok@emcraft.com>
Sun, 18 Dec 2011 10:02:04 +0000 (10:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Dec 2011 21:31:13 +0000 (16:31 -0500)
commit7746ab0abb512826540a9a0c917519d11a7bf392
tree90ab33782fe835540102eabcdd5b763969a1598e
parent2692ba61a82203404abd7dd2a027bda962861f74
davinci-cpdma: fix locking issue in cpdma_chan_stop

Free the channel lock before calling __cpdma_chan_process to prevent
dead lock.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Tested-by: Ameya Palande <2ameya@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c