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

Shilimkar, Santosh santosh.shilimkar at ti.com
Fri May 4 03:32:48 EDT 2012


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.

Regards
Santosh



More information about the linux-arm-kernel mailing list