• Paul Walmsley's avatar
    OMAP3 powerdomains: remove RET from SGX power states list · f7290550
    Paul Walmsley authored
    On Wed, 5 Nov 2008, Tony Lindgren wrote:
    
    > * Paul Walmsley <paul@pwsan.com> [081105 11:39]:
    > >
    > > The SGX device on OMAP3 does not support retention, so remove RET from the
    > > list of possible SGX power states.  Problem debugged by Richard Woodruff
    > > <r-woodruff2@ti.com>.
    >
    > Pushing.
    
    Just FYI, that patch prevents the kernel from booting due to a bug in
    pm34xx.c; patch below.
    
    Even with the follwoing patch, the initial power state setup code in
    pm34xx.c will bail out early since it still tries to set the SGX next
    power state to retention, which it does not support.
    
    - Paul
    
    OMAP3 PM: use list_for_each_entry_safe() when deleting list entries
    
    From: Paul Walmsley <paul@pwsan.com>
    
    The error path in clkdms_setup() needs to use list_for_each_entry_safe()
    when deleting entries from the list, or the kernel will crash.
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Cc: Jouni Högander <jouni.hogander@nokia.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    f7290550
pm34xx.c 16.5 KB