]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: omap-dma: Fix the port_window support
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 9 Jan 2017 14:50:52 +0000 (16:50 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 10 Jan 2017 05:38:01 +0000 (11:08 +0530)
commit820099fc157b35dedbca23c36656c7bd56e2101b
treec73059466c4c8792369677c427d0eedd9d94f63b
parent69641970434a5ae4e1ab4e792217e812f2d2c068
dmaengine: omap-dma: Fix the port_window support

We do not yet have users of port_window. The following errors were found
when converting the tusb6010_omap.c musb driver:

- The peripheral side must have SRC_/DST_PACKED disabled
- when configuring the burst for the peripheral side the memory side
  configuration were overwritten: d->csdp = ... -> d->csdp |= ...
- The EI and FI were configured for the wrong sides of the transfers.

With these changes and the converted tus6010_omap.c I was able to verify
that things are working as they expected to work.

Fixes: 23096b1e08cc ("dmaengine: omap-dma: Support for slave devices with data port window")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c