dmaengine: at_hdmac: remove channel status testing in tasklet
commit2f432823ec6e693d7b934e805ce1838f41d66ce7
authorNicolas Ferre <nicolas.ferre@atmel.com>
Sat, 30 Apr 2011 14:57:48 +0000 (30 16:57 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 May 2011 10:12:09 +0000 (2 15:42 +0530)
treed3081ac9ae558e05b18f9df49a9c127bf8dc45de
parentcc52a10a048fc1fbe4ffba58c2f0afc79ae0f56f
dmaengine: at_hdmac: remove channel status testing in tasklet

There is no need to test if channel is enabled in tasklet:
- in error path, channel is disabled in interrupt routine
- in normal path, this test is performed in sub functions to report
a misuse of the engine.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_hdmac.c