]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
authorVignesh R <vigneshr@ti.com>
Tue, 19 Dec 2017 10:51:16 +0000 (12:51 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 22 Dec 2017 12:18:07 +0000 (17:48 +0530)
commit79115d35bac04471b95580e8629a46f0afa13ca6
tree7e79b60f3fd572bff3d66692a2537c1f63e3f996
parentfc34a8d7a6e80eb2c2304f3fb1526e012599ae42
dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63

Register layout of a typical TPCC_EVT_MUX_M_N register is such that the
lowest numbered event is at the lowest byte address and highest numbered
event at highest byte address. But TPCC_EVT_MUX_60_63 register layout is
different,  in that the lowest numbered event is at the highest address
and highest numbered event is at the lowest address. Therefore, modify
ti_am335x_xbar_write() to handle TPCC_EVT_MUX_60_63 register
accordingly.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ti-dma-crossbar.c