Cleanups and improvenments for pl330 v3

From: Alexander Kochetkov
Date: Thu Mar 10 2016 - 06:03:05 EST


Hello,
Here is v2 series of pl330 fixes. It is rebased again linux next-20160310.
The patches were tested on rk3188 radxarock.

>8 march 2016 Ð., * 6:03, Vinod Koul <vinod.koul@xxxxxxxxx> *:
>Overall this series looks okay, but can someone test this. I would not like
>pl330 to be roken again

Bartlomiej, could you please test the patches on Samsung Exynos4412?
Dinh, could you please test the patches on SoCFPGA?
So I will add your name as Tested-by.

> 10 march 2016 Ð., * 8:55, Caesar Wang <wxt@xxxxxxxxxxxxxx> *:
> The above series patches will solve the I2S clic problem, right?

The patch "dmaengine: pl330: make cyclic transfer free runnable" fixes
sound click problem. So if you noticed sound clicks on your board,
please test the patches.

The patch "dmaengine: pl330: don't emit code for one iteration loop"
is simple improvement allows to save some bytes of pl330 MicroCode
buffer.

The patch "dmaengine: pl330: cleanup quirk pass code" is improvement
intended to hide struct pl330_dmac from low-level functions.
It partially revert changes introduced by 271e1b86e691 "dmaengine:
pl330: add quirk for broken no flushp".

[PATCH 1/3 v3] dmaengine: pl330: cleanup quirk pass code
[PATCH 2/3 v3] dmaengine: pl330: don't emit code for one iteration loop
[PATCH 3/3 v3] dmaengine: pl330: make cyclic transfer free runnable