]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP3 powerdomains: remove RET from SGX power states list
authorPaul Walmsley <paul@pwsan.com>
Thu, 6 Nov 2008 11:08:44 +0000 (04:08 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 6 Nov 2008 17:01:48 +0000 (09:01 -0800)
commitf729055074bf6bb0f1c87d92de89ab69c9aad220
tree5d4e4e8b65acbb64e8e24032b537f7774d451f14
parent347109cc09dd5689f37fcb139a26cde7d4b69363
OMAP3 powerdomains: remove RET from SGX power states list

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: Paul Walmsley <paul@pwsan.com>
Cc: Jouni Högander <jouni.hogander@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm34xx.c