From patchwork Wed Feb 25 14:13:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Grygorii.Strashko@linaro.org" X-Patchwork-Id: 5880361 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A67449F269 for ; Wed, 25 Feb 2015 14:14:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3FF320382 for ; Wed, 25 Feb 2015 14:14:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21F5A20381 for ; Wed, 25 Feb 2015 14:14:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753309AbbBYON5 (ORCPT ); Wed, 25 Feb 2015 09:13:57 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:40902 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752899AbbBYON4 (ORCPT ); Wed, 25 Feb 2015 09:13:56 -0500 Received: by lbdu10 with SMTP id u10so4076966lbd.7 for ; Wed, 25 Feb 2015 06:13:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4U2IYIop/COHsMz1JehKf6XcPTH9jJqbxK0qMiuo5so=; b=aL0olq5AoChVqrn2ZbR5OzpAAyU+eJ8u7NPidBSrwSEjcyS6Lb2aA3IFasz5clZ6fd s1HLKwfE0m9kMJ6a0u/46rlK7BJKEmI7XZxDteTwl6lTr9YIqsow2Il4ygTyur+UdWcT nXHYtFhOMt2fsBRxKjV834l96MWpRGCmoD/giiWUDE0F4L5jr4OxQ7gmBm8MBl2Ttd+N QWNNoKvY9XMuygghR/v7OZuKVTickDokcC2xfrDkCscdCrlTk6kCecRW88sw5lhYJX3h Q2kosANbGLaGLaYM37wqTQFLeeCsd7cLTS4jvoWKfgDnds+lnZZ+edCr2oR+YnnpcGig SpnQ== X-Gm-Message-State: ALoCoQnYOzh1XjePwkt3mSRPF5MqBuxPHLJlHcKHFN4O495JRmYObNMT3JF0iHiSjgvFufDMIyEj X-Received: by 10.152.116.18 with SMTP id js18mr2972580lab.106.1424873634581; Wed, 25 Feb 2015 06:13:54 -0800 (PST) Received: from localhost ([195.238.92.128]) by mx.google.com with ESMTPSA id pq1sm6925311lbb.41.2015.02.25.06.13.53 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 06:13:53 -0800 (PST) From: To: Tony Lindgren , Cc: , , , , Grygorii Strashko Subject: [PATCH] ARM: omap-device: add missed callback for suspend-to-disk Date: Wed, 25 Feb 2015 16:13:50 +0200 Message-Id: <1424873630-6054-1-git-send-email-grygorii.strashko@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Grygorii Strashko Add missed callback needed for supporting suspend-to-disk (hibernation) mode. Signed-off-by: Grygorii Strashko Acked-by: Kevin Hilman --- arch/arm/mach-omap2/omap_device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c index fcd2c9e..345e18e 100644 --- a/arch/arm/mach-omap2/omap_device.c +++ b/arch/arm/mach-omap2/omap_device.c @@ -739,6 +739,9 @@ struct dev_pm_domain omap_device_pm_domain = { USE_PLATFORM_PM_SLEEP_OPS .suspend_noirq = _od_suspend_noirq, .resume_noirq = _od_resume_noirq, + .freeze_noirq = _od_suspend_noirq, + .thaw_noirq = _od_resume_noirq, + .restore_noirq = _od_resume_noirq, } };