• Kevin Hilman's avatar
    OMAP3: PRCM interrupt: only check and clear enabled PRCM IRQs · d6290a3e
    Kevin Hilman authored
    While handling PRCM IRQs, mask out interrupts that are not enabled in
    PRM_IRQENABLE_MPU.  If these are not masked out, non-enabled
    interrupts are caught, a WARN() is printed due to no 'handler' and the
    events are cleared.  In addition to being noisy, this can also
    interfere with independent polling of this register by SR/VP code.
    
    This was noticed using SmartReflex transitions which cause the VPx_*
    interrupts to be handled since they are set in PRM_IRQSTATUS_MPU even
    but not enabled in PRM_IRQENABLE_MPU.
    Acked-by: default avatarMike Turquette <mturquette@ti.com>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    d6290a3e
pm34xx.c 29.5 KB