From patchwork Sun Aug 21 23:49:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 1084202 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7LNnbMQ006908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 21 Aug 2011 23:49:58 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QvHlg-0005yb-8i; Sun, 21 Aug 2011 23:49:28 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QvHlf-0006mm-OR; Sun, 21 Aug 2011 23:49:27 +0000 Received: from mail-ey0-f171.google.com ([209.85.215.171]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QvHlb-0006mU-Ca for linux-arm-kernel@lists.infradead.org; Sun, 21 Aug 2011 23:49:23 +0000 Received: by eyg24 with SMTP id 24so4184977eyg.30 for ; Sun, 21 Aug 2011 16:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=1kVFU0CLdefCmbcqVkfT1abaqycNAx9xE/gZCiQaydY=; b=vfDBnAK1YFJqipSqtwAAVopocHt3A9drWQktJYy0zrBa84tQMppI8yUNMBJE8RSe+7 wqKQn5+T8rPG2Ullybz3/bhSLSznHkQ6caUR0eA/8Q+pLXitukOJRP3R+pARCqqSvjHg 0DjkJ9oMT13gqRT/nhiApHXtPc/HGIcfU7y9E= Received: by 10.213.105.77 with SMTP id s13mr392474ebo.149.1313970562271; Sun, 21 Aug 2011 16:49:22 -0700 (PDT) Received: from flatron.localnet (178-73-0-134.home.aster.pl [178.73.0.134]) by mx.google.com with ESMTPS id v54sm2452498eeh.16.2011.08.21.16.49.20 (version=SSLv3 cipher=OTHER); Sun, 21 Aug 2011 16:49:21 -0700 (PDT) From: Tomasz Figa To: linux-arm-kernel Subject: [PATCH 2/4 v2] ARM: s3c64xx: Save/restore S3C64XX_SDMA_SEL on suspend/resume. Date: Mon, 22 Aug 2011 01:49:24 +0200 Message-ID: <2509161.MFID6oMLcz@flatron> User-Agent: KMail/4.7.0 (Linux/3.0.3-gentoo; KDE/4.7.0; x86_64; ; ) In-Reply-To: <2499662.GIrUU4Kkuf@flatron> References: <2499662.GIrUU4Kkuf@flatron> MIME-Version: 1.0 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110821_194923_573538_64EC581E X-CRM114-Status: GOOD ( 13.16 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.171 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tomasz.figa[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Kukjin Kim , Ben Dooks X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sun, 21 Aug 2011 23:49:58 +0000 (UTC) From a347a9d7ce07c7767adc8ff948d97813cf45c933 Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Thu, 21 Jul 2011 14:57:35 +0200 Subject: [PATCH 2/4 v2] ARM: s3c64xx: Save/restore S3C64XX_SDMA_SEL on suspend/resume. This patch makes sure that S3C64XX_SDMA_SEL register is preserved during sleep mode, as it is critical for DMA operation and the DMA driver alone does not provide any power management facilities. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/pm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c64xx/pm.c b/arch/arm/mach-s3c64xx/pm.c index bc1c470..b9c0536 100644 --- a/arch/arm/mach-s3c64xx/pm.c +++ b/arch/arm/mach-s3c64xx/pm.c @@ -84,6 +84,8 @@ static struct sleep_save misc_save[] = { SAVE_ITEM(S3C64XX_MEM0CONSLP0), SAVE_ITEM(S3C64XX_MEM0CONSLP1), SAVE_ITEM(S3C64XX_MEM1CONSLP), + + SAVE_ITEM(S3C64XX_SDMA_SEL), }; void s3c_pm_configure_extint(void)