• K
    OMAP: Fix race condition with autodeps · a0219fbd
    Kalle Jokiniemi 提交于
    There is a possible race condition in clockdomain
    code handling hw supported idle transitions.
    
    When multiple autodeps dependencies are being added
    or removed, a transition of still remaining dependent
    powerdomain can result in false readings of the
    state counter. This is especially fatal for off mode
    state counter, as it could result in a driver not
    noticing a context loss.
    
    Fixed by disabling hw supported state transitions
    when autodeps are being changed.
    Signed-off-by: NKalle Jokiniemi <kalle.jokiniemi@digia.com>
    Signed-off-by: NPaul Walmsley <paul@pwsan.com>
    a0219fbd
clockdomain.c 16.6 KB