ARM: OMAP3: Fix choice of omap3_restore_es function in OMAP34XX rev3.1.2 case.
authorJeremy Vial <jvial@adeneo-embedded.com>
Thu, 31 Jul 2014 13:10:33 +0000 (15:10 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 1 Aug 2014 08:17:50 +0000 (01:17 -0700)
According to the comment “restore_es3: applies to 34xx >= ES3.0" in
"arch/arm/mach-omap2/sleep34xx.S”, omap3_restore_es3 should be used
if the revision of an OMAP34xx is ES3.1.2.

Signed-off-by: Jeremy Vial <jvial@adeneo-embedded.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/control.c

index f4796c002070819aa91d5ae229fabae51e5a252b..e84e3b4bfde1a7ecbeebdbc89d43c20f15696938 100644 (file)
@@ -309,7 +309,8 @@ void omap3_save_scratchpad_contents(void)
                scratchpad_contents.public_restore_ptr =
                        virt_to_phys(omap3_restore_3630);
        else if (omap_rev() != OMAP3430_REV_ES3_0 &&
-                                       omap_rev() != OMAP3430_REV_ES3_1)
+                                       omap_rev() != OMAP3430_REV_ES3_1 &&
+                                       omap_rev() != OMAP3430_REV_ES3_1_2)
                scratchpad_contents.public_restore_ptr =
                        virt_to_phys(omap3_restore);
        else
This page took 0.027641 seconds and 5 git commands to generate.