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)
commit527a27591312e4b3a0f8179f321f9e85c0850df0
treec73059466c4c8792369677c427d0eedd9d94f63b
parent21d25f6a4217e755906cb548b55ddab39d0e88b9
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: 201ac4861c19 ("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