From: zhaoyifeng Date: Wed, 16 Mar 2011 06:30:23 +0000 (+0800) Subject: change emmc dma brst_len form 1 to 16 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2bb18991f14e37d6c7ea265d30b3430c3cc47609;p=firefly-linux-kernel-4.4.55.git change emmc dma brst_len form 1 to 16 --- diff --git a/arch/arm/mach-rk29/rk29-pl330.c b/arch/arm/mach-rk29/rk29-pl330.c index ec290ddce682..9c1f2d03143a 100644 --- a/arch/arm/mach-rk29/rk29-pl330.c +++ b/arch/arm/mach-rk29/rk29-pl330.c @@ -456,7 +456,10 @@ static inline int rk29_pl330_submit(struct rk29_pl330_chan *ch, ch->rqcfg.brst_len = bl; } else { - ch->rqcfg.brst_len = 1; + if(ch->id == DMACH_EMMC) + ch->rqcfg.brst_len = 16; //yk + else + ch->rqcfg.brst_len = 1; } ret = pl330_submit_req(ch->pl330_chan_id, r);