pch_dma: fix dma direction issue for ML7213 IOH video-in
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Mon, 9 May 2011 07:09:35 +0000 (16:09 +0900)
committerVinod Koul <vinod.koul@intel.com>
Mon, 9 May 2011 11:42:23 +0000 (17:12 +0530)
commitc8fcba600c46c5d7667ec230b1d9ce3ce5859f9c
tree65d37c132a9ddd26edbaff9dddb27cc9a3047058
parente257e1563f28890f54b5f82861373bb4b32dd770
pch_dma: fix dma direction issue for ML7213 IOH video-in

Currently, even-channel number is set as tx direction and odd is set as rx.
However, though video-in uses ch6, the direction is not tx but rx.
This patch sets video-in's DMA direction correctly.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pch_dma.c