PCI: rockchip: disable RIE in DMA Write Channel Control 1 Register

After comparing the test results with RIE enabled and disabled,enable
RIE may cause PCIe dma interrupt work unnormal.

More works need to dig it out

Change-Id: Ia25022332de92cf21287df155cd514a160d140bc
Signed-off-by: Simon Xue <xxm@rock-chips.com>
This commit is contained in:
Simon Xue
2019-01-16 14:19:03 +08:00
committed by Tao Huang
parent 1963f0ca19
commit af717260c4

View File

@@ -221,7 +221,7 @@ static void rk_pcie_prepare_dma(struct dma_trx_obj *obj,
} else {
table->wr_enb.enb = 0x1;
table->ctx_reg.ctrllo.lie = 0x1;
table->ctx_reg.ctrllo.rie = 0x1;
table->ctx_reg.ctrllo.rie = 0x0;
table->ctx_reg.ctrllo.td = 0x1;
table->ctx_reg.ctrlhi.asdword = 0x0;
table->ctx_reg.xfersize = buf_size;