Subject: [PATCH] ARM: OMAP3: clockdomain: fix accidental duplicate registration

From: [email-masked] (Kevin Hilman)
Date: Thu, 12 Jul 2012 10:50:13 -0700

Paul Walmsley <[email-masked]> writes:

> Commit 3dd50d0545bd5a8ad83d4339f07935cd3e883271 ("Merge tag 
> 'omap-cleanup-for-v3.6' into tmp-merge") inadvertently caused a 
> clockdomain to be registered twice on OMAP3 boards.  This causes warnings 
> on boot, wild pointer dereferences, and PM regressions.  Fix the double 
> registration and add some clockdomain code to prevent this from happening 
> again.
>
> Reported-by: Joe Woodward <[email-masked]>
> Cc: Tony Lindgren <[email-masked]>
> Cc: Kevin Hilman <[email-masked]>
> Signed-off-by: Paul Walmsley <[email-masked]>

Acked-by: Kevin Hilman <[email-masked]>

This fixes the problem I reported here:

     http://marc.info/?l=linux-omap&m=134203768012711&w=2

Thanks,

Kevin