Re: [PATCH] ARM: OMAP2+: dma: Define dma capabilities register bitfields and use them.
* Shilimkar, Santosh [120504 00:37]: > On Fri, May 4, 2012 at 12:59 PM, R Sricharan wrote: > > The system dma module has capabiities register indicating > > the support for descriptor loading, constant fill, etc. > > Use this instead of OMAP revision check to identify the features > > supported runtime. > > > > This avoids patching the code for feature SOCs which has > > those capabilities. > > > > Signed-off-by: R Sricharan > > --- > > arch/arm/mach-omap2/dma.c | 11 +++ > > arch/arm/plat-omap/include/plat/dma.h | 5 + > > 2 files changed, 12 insertions(+), 4 deletions(-) > > > Looks fine. Will add it to my clean-up series if no has > any objection on the patch. Yes this is nice. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] ARM: OMAP2+: dma: Define dma capabilities register bitfields and use them.
On Fri, May 4, 2012 at 12:59 PM, R Sricharan wrote: > The system dma module has capabiities register indicating > the support for descriptor loading, constant fill, etc. > Use this instead of OMAP revision check to identify the features > supported runtime. > > This avoids patching the code for feature SOCs which has > those capabilities. > > Signed-off-by: R Sricharan > --- > arch/arm/mach-omap2/dma.c | 11 +++ > arch/arm/plat-omap/include/plat/dma.h | 5 + > 2 files changed, 12 insertions(+), 4 deletions(-) > Looks fine. Will add it to my clean-up series if no has any objection on the patch. Regards Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html