dma: set AxCACHE[1] as modifiable.
authorEunok Jo <eunok25.jo@samsung.com>
Thu, 16 Apr 2015 09:02:19 +0000 (18:02 +0900)
committerTaekki Kim <taekki.kim@samsung.com>
Mon, 14 May 2018 05:42:46 +0000 (14:42 +0900)
Differ to NOC, TREX cannot chunk burst data
unless AxCACHE is set to high.

Change-Id: Ie54ccc6cb6ebf3570019a2bf9b34dd61d9581191
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
drivers/dma/pl330.c

index d9e51cbb14ebafb28c53486068b6a67169ca8af4..c76730dc4f05035cd8ad23d506e08eb866589ae0 100644 (file)
@@ -2511,8 +2511,8 @@ static dma_cookie_t pl330_tx_submit(struct dma_async_tx_descriptor *tx)
 static inline void _init_desc(struct dma_pl330_desc *desc)
 {
        desc->rqcfg.swap = SWAP_NO;
-       desc->rqcfg.scctl = CCTRL0;
-       desc->rqcfg.dcctl = CCTRL0;
+       desc->rqcfg.scctl = CCTRL2;
+       desc->rqcfg.dcctl = CCTRL2;
        desc->txd.tx_submit = pl330_tx_submit;
 
        INIT_LIST_HEAD(&desc->node);