[PATCH] ARM: OMAP2+: dma: Define dma capabilities register bitfields and use them.

Tony Lindgren tony at atomide.com
Fri May 4 13:53:54 EDT 2012


* Shilimkar, Santosh <santosh.shilimkar at ti.com> [120504 00:37]:
> On Fri, May 4, 2012 at 12:59 PM, R Sricharan <r.sricharan at ti.com> 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 <r.sricharan at ti.com>
> > ---
> >  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



More information about the linux-arm-kernel mailing list