From patchwork Wed Mar 28 10:17:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inderpal Singh X-Patchwork-Id: 7505 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 31E1123DEA for ; Wed, 28 Mar 2012 10:17:57 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id E2DA1A181BC for ; Wed, 28 Mar 2012 10:17:56 +0000 (UTC) Received: by iage36 with SMTP id e36so1711658iag.11 for ; Wed, 28 Mar 2012 03:17:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=Lh3BYhYP+pgD6sIhlbg0vF/7AmXlMVNb9wxD71tWdro=; b=MHV/ll3G94h0LNbTiBW+rHmQMbHzD86a4RbN6xx4+Ej49BZqyhsHa01po5QyNswokU tnQsoJd6O2XOx79bB1jHC150segwz8Pl/N8Fa4XHz3C9L+XRcN/A8H0QKQsZiHXJzibK M5J9pmzm7EtS1BKc9ESYReF+k0onqp+b6Ql0aDMndAc88WQPuOCmQ046iJLhVmfixYu1 3wrh1hETafhKQgLYm5NG2GURZYlu0KmsYUoHxhgOyxvYrF5M6zLgo8CTV11/338QstQZ xgHUSIKiRWY0c8BHYNZKyZrJsoqPVdGFnA1HWJFSkqRS0pRCcX2wIXq8qq7q3TuJQRIZ qfhA== Received: by 10.50.186.161 with SMTP id fl1mr1566199igc.44.1332929876390; Wed, 28 Mar 2012 03:17:56 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.5.205 with SMTP id 13csp45394ibw; Wed, 28 Mar 2012 03:17:56 -0700 (PDT) Received: by 10.68.223.161 with SMTP id qv1mr71422854pbc.100.1332929875554; Wed, 28 Mar 2012 03:17:55 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id b5si3771559pbj.173.2012.03.28.03.17.55 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Mar 2012 03:17:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of inderpal.singh@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of inderpal.singh@linaro.org) smtp.mail=inderpal.singh@linaro.org Received: by pbcxa12 with SMTP id xa12so1855863pbc.37 for ; Wed, 28 Mar 2012 03:17:55 -0700 (PDT) Received: by 10.68.213.202 with SMTP id nu10mr5482463pbc.37.1332929875057; Wed, 28 Mar 2012 03:17:55 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id jm4sm2379763pbc.73.2012.03.28.03.17.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Mar 2012 03:17:54 -0700 (PDT) From: Inderpal Singh To: samsung@lists.linaro.org, linux-samsung-soc@vger.kernel.org Cc: patches@linaro.org, kgene.kim@samsung.com, Inderpal Singh Subject: [PATCH] ARM: EXYNOS4: Fix soft reboot hang after suspend/resume Date: Wed, 28 Mar 2012 15:47:46 +0530 Message-Id: <1332929866-31489-1-git-send-email-inderpal.singh@linaro.org> X-Mailer: git-send-email 1.7.5.4 X-Gm-Message-State: ALoCoQl9cgJC/de0EhCDiPZ8vRbvqmU5pAPXQ2BN6jNwI1donU4tgxH5ijWy8Vrwo4Mjivt/Nj7n Upon wake-up, clear the sleep mode set in INFORM1 register. Signed-off-by: Inderpal Singh --- arch/arm/mach-exynos/pm.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index f0bb467..16cba3f 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -381,6 +381,10 @@ static void exynos4_pm_resume(void) #endif early_wakeup: + + /* Clear SLEEP mode set in INFORM1 */ + __raw_writel(0x0, S5P_INFORM1); + return; }