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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Tue, May 29, 2012 at 5:46 PM, Russell King
<rmk+kernel@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter