X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fdma%2Fpl330.c;h=17ee758b419ffbf6e10722fbcac95a08a96e4892;hb=352712274507645b6f82b8763977ad87321919a3;hp=ecab4ea059b4d5eec80a3f3354b5c1c2c36343c0;hpb=dd2281be03a7f4d3f249a733913a9ebb36e721f4;p=pandora-kernel.git diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index ecab4ea059b4..17ee758b419f 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -1198,6 +1198,9 @@ static inline int _loop(unsigned dry_run, u8 buf[], unsigned lcnt0, lcnt1, ljmp0, ljmp1; struct _arg_LPEND lpend; + if (*bursts == 1) + return _bursts(dry_run, buf, pxs, 1); + /* Max iterations possible in DMALP is 256 */ if (*bursts >= 256*256) { lcnt1 = 256;