15 Feb, 2013

1 commit

  • The newly created omap_hwmod_reset.c is missing an
    include of linux/errno.h in commit c02060d8 "ARM:
    OMAP4+: AESS: enable internal auto-gating during
    initial setup". It still works in omap2_defconfig,
    but not in all other combinations.

    Without this patch, building allmodconfig results in:

    arch/arm/mach-omap2/omap_hwmod_reset.c: In function 'omap_hwmod_aess_preprogram':
    arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: error: 'EINVAL' undeclared (first use in this function)
    arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: note: each undeclared identifier is reported only once for each function it appears in

    Signed-off-by: Arnd Bergmann
    Acked-by: Tony Lindgren
    Cc: Paul Walmsley
    Cc: Sebastien Guiriec

    Arnd Bergmann
     

11 Feb, 2013

1 commit

  • Enable the AESS auto-gating control bit during AESS hwmod setup. This
    fixes the following boot warning on OMAP4:

    omap_hwmod: aess: _wait_target_disable failed

    Without this patch, the AESS IP block does not indicate to the PRCM
    that it is idle after it is reset. This prevents some types of SoC
    power management until something sets the auto-gating control bit.

    Signed-off-by: Paul Walmsley
    Signed-off-by: Sebastien Guiriec
    Cc: Benoît Cousson
    Cc: Péter Ujfalusi
    Cc: Tony Lindgren

    Paul Walmsley