[RFC 33/34] dmaengine: PL08x: get rid of write only pool_ctr and free_txd locking

Linus Walleij linus.walleij at linaro.org
Wed May 30 21:26:29 EDT 2012


On Tue, May 29, 2012 at 5:46 PM, Russell King
<rmk+kernel at arm.linux.org.uk> wrote:

> The free function says the pl08x lock should be taken before calling
> it.  However, the DMA pool allocation/freeing is already properly
> locked.  The only thing that would need this is pool_ctr, which
> happens to be a write-only variable.
>
> Let's get rid of this, and eliminate any need for additional locking
> here.
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list