]> git.baikalelectronics.ru Git - kernel.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)
commit9ad9c8e92f6eabf123f050aeb507f7697135987d
tree70bad7f632a0711450c277856cf8a0946c753e6b
parenta780c2d5637d959a6133b349d5166a4148a42da3
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