]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: ste_dma40: indicate directions on channels
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Jan 2017 15:02:03 +0000 (16:02 +0100)
committerVinod Koul <vinod.koul@intel.com>
Sat, 14 Jan 2017 15:03:33 +0000 (20:33 +0530)
commit49873e99b7b5d59eef238199fd55f8345e860824
tree70bad7f632a0711450c277856cf8a0946c753e6b
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
dmaengine: ste_dma40: indicate directions on channels

Since the introduction of the .directions flags, ste_dma40 was
never patched to indicate which transfer directions it can manage.
This causes a problem when trying to use the dmaengine for generic
ALSA SoC DMA:

ux500-msp-i2s.1: Failed to get DMA channel capabilities, falling
   back to period counting: -6

This patch fixes this issue by indicating the supported transfer
directions for slave and memcpy channels.

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