omap: Fix race condition in omap dma driver
authorTao Hu <taohu@motorola.com>
Tue, 10 Nov 2009 00:31:14 +0000 (16:31 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 10 Nov 2009 01:27:52 +0000 (17:27 -0800)
The bug could cause irq enable bit of one DMA channel is
cleared/set unexpectedly when 2 (or more) drivers are calling
omap_request_dma()/omap_free_dma() simultaneously

Signed-off-by: Fei Yang <AFY095@motorola.com>
Signed-off-by: Tao Hu <taohu@motorola.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found