dma/ste_dma40: fix erroneous comparison
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Apr 2012 16:12:52 +0000 (18:12 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 23 Apr 2012 12:37:05 +0000 (18:07 +0530)
commit7e426da823fc7cd428b82ff2cf3615da24c73352
tree6b8d215c99e76afd59cace3ae2ceb18d9f1affdd
parent15e4b78d7338a41b020d29dab7ac13a234ebe833
dma/ste_dma40: fix erroneous comparison

A small fallout from Vinod's conversions to dma_transfer_direction,
this small comparison was done with a dma_data_direction instead.
Fix it by comparing against the correct enum.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/ste_dma40.c