Re: [PATCH RFC 22/26] ARM: omap: move dma channel allocation into plat-omap code

2014-01-02 Thread Andy Shevchenko
On Thu, 2014-01-02 at 15:12 +, Russell King wrote: > This really needs to be there, because otherwise the plat-omap code can > kfree() this data structure, and then re-use the pointer later. One comment bellow. > > Signed-off-by: Russell King > --- > arch/arm/mach-omap1/dma.c | 11 --

[PATCH RFC 22/26] ARM: omap: move dma channel allocation into plat-omap code

2014-01-02 Thread Russell King
This really needs to be there, because otherwise the plat-omap code can kfree() this data structure, and then re-use the pointer later. Signed-off-by: Russell King --- arch/arm/mach-omap1/dma.c | 11 --- arch/arm/mach-omap2/dma.c |7 --- arch/arm/plat-omap/dma.c | 11 +++