From patchwork Thu Jul 4 07:59:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Barry Song X-Patchwork-Id: 2822331 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3D8F09F3C3 for ; Thu, 4 Jul 2013 08:00:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2097E20134 for ; Thu, 4 Jul 2013 08:00:35 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D81A82012D for ; Thu, 4 Jul 2013 08:00:33 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UueSs-0007Tr-QU; Thu, 04 Jul 2013 08:00:31 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UueSq-00018Z-AS; Thu, 04 Jul 2013 08:00:28 +0000 Received: from cluster-g.mailcontrol.com ([208.87.233.190]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UueSm-00017n-R5 for linux-arm-kernel@lists.infradead.org; Thu, 04 Jul 2013 08:00:25 +0000 Received: from shaasiexc01.ASIA.ROOT.PRI ([210.13.83.101]) by rly21g.srv.mailcontrol.com (MailControl) with ESMTP id r64800aH017664 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 4 Jul 2013 09:00:02 +0100 Received: from barry-laptop.ROOT.PRI (10.125.5.73) by asimail.csr.com (10.125.12.88) with Microsoft SMTP Server (TLS) id 14.2.318.1; Thu, 4 Jul 2013 15:59:59 +0800 From: Barry Song To: Subject: [PATCH 5/5] pinctrl: sirf: add freeze and restore entries for hibernation support Date: Thu, 4 Jul 2013 15:59:53 +0800 Message-ID: <1372924793-5579-1-git-send-email-Baohua.Song@csr.com> X-Mailer: git-send-email 1.8.2.3 MIME-Version: 1.0 X-Originating-IP: [10.125.5.73] X-Scanned-By: MailControl 16089.0 (www.mailcontrol.com) on 10.71.0.131 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130704_040025_017847_74EEB36F X-CRM114-Status: GOOD ( 11.90 ) X-Spam-Score: -2.6 (--) Cc: workgroup.linux@csr.com, linux-arm-kernel@lists.infradead.org, Barry Song X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP this patch adds hibernation entries so that the sirf platform can support suspend-to-disk. Signed-off-by: Barry Song --- drivers/pinctrl/sirf/pinctrl-sirf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c index 7186b46..0792e8d 100644 --- a/drivers/pinctrl/sirf/pinctrl-sirf.c +++ b/drivers/pinctrl/sirf/pinctrl-sirf.c @@ -440,6 +440,8 @@ static int sirfsoc_pinmux_resume_noirq(struct device *dev) static const struct dev_pm_ops sirfsoc_pinmux_pm_ops = { .suspend_noirq = sirfsoc_pinmux_suspend_noirq, .resume_noirq = sirfsoc_pinmux_resume_noirq, + .freeze_noirq = sirfsoc_pinmux_suspend_noirq, + .restore_noirq = sirfsoc_pinmux_resume_noirq, }; #endif