dmaengine: pl330: Use dma_transfer_direction instead of custom pl330_reqtype
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 6 Jul 2014 18:32:18 +0000 (20:32 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 15 Jul 2014 16:31:02 +0000 (22:01 +0530)
commit585a9d0b43d109ad76c0e43eae0fbe5ec3196246
treef6d17796832981acddcbf5ca17be0a80192a6455
parent653e67f7e5e008258ff65c2067460cc9e8ee8f94
dmaengine: pl330: Use dma_transfer_direction instead of custom pl330_reqtype

The pl330 driver has the custom pl330_reqtype enum which has the same possible
settings as the generic dma_transfer_direction enum. Switching over to the
generic enum internally makes it possible to directly initialize it from the
transfer request direction.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c