From patchwork Mon Apr 27 18:24:31 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: 6282091 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 93F339F313 for ; Mon, 27 Apr 2015 18:25:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BCF81203A9 for ; Mon, 27 Apr 2015 18:25:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E3D21203A0 for ; Mon, 27 Apr 2015 18:25:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965032AbbD0SYm (ORCPT ); Mon, 27 Apr 2015 14:24:42 -0400 Received: from mail-la0-f43.google.com ([209.85.215.43]:32815 "EHLO mail-la0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964998AbbD0SYj (ORCPT ); Mon, 27 Apr 2015 14:24:39 -0400 Received: by layy10 with SMTP id y10so86640249lay.0 for ; Mon, 27 Apr 2015 11:24:38 -0700 (PDT) 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:in-reply-to :references; bh=Xb/VAI8XPKCNcBwj7oPV6xcZ1Z4bWoBgRpfdeDwLFWw=; b=kdHAhheFOesMPKVgdgBTVJEwE2KIr+lEXOv2/Ab1PtadywqZx1Q+BJkGKhPVvREAF1 8LRsTKyhLLcbyXshqriPPwsdzRep/L+1WeMi8BZS3WaqutTsysY2VC8K+BQ3KeAY0FcN vI1PJyBHpCBx5SwF6uHSa0/o5NJdeHg9lwlJtc1nTx4FrxNS/tW4ZdFMdHSfpkSNpeM/ WZ0FZqY9trXVzju/O3rnkIjjNyNMFdfXdwv5zhHtLhYY3xxtqEYc7uDLMCu2DOakkqlq J/t7NkJl/ea6iaqE8D5Wq0Ky8U0C6jaey7GNs4+WNHJUobEgVE51bE5Re93oTlRJ0iM8 XZlw== X-Gm-Message-State: ALoCoQlNBRWtCGv3B0EUKY+/dPALfPDEtZplOmJwyp0tVrVxahmYoUr3rhmjOyEhaR3v33NO7acg X-Received: by 10.152.27.98 with SMTP id s2mr11267962lag.106.1430159078376; Mon, 27 Apr 2015 11:24:38 -0700 (PDT) Received: from localhost ([195.238.92.128]) by mx.google.com with ESMTPSA id jf5sm4948897lbc.44.2015.04.27.11.24.37 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 27 Apr 2015 11:24:37 -0700 (PDT) From: To: "Rafael J. Wysocki" , Pavel Machek , Len Brown , linux-pm@vger.kernel.org Cc: ulf.hansson@linaro.org, , , , Grygorii Strashko , Tony Lindgren , Nishanth Menon , Kevin Hilman , Santosh Shilimkar Subject: [PATCH 2/3] bus: omap_l3_noc: add missed callbacks for suspend-to-disk Date: Mon, 27 Apr 2015 21:24:31 +0300 Message-Id: <1430159072-31440-3-git-send-email-grygorii.strashko@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1430159072-31440-1-git-send-email-grygorii.strashko@linaro.org> References: <1430159072-31440-1-git-send-email-grygorii.strashko@linaro.org> 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=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 From: Grygorii Strashko Add missed callbacks needed for proper supporting of suspend-to-disk by using recently introduced macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS. Cc: Tony Lindgren Cc: Nishanth Menon Cc: Kevin Hilman Cc: Santosh Shilimkar Signed-off-by: Grygorii Strashko Acked-by: Nishanth Menon --- drivers/bus/omap_l3_noc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c index 11f7982..6ae3884 100644 --- a/drivers/bus/omap_l3_noc.c +++ b/drivers/bus/omap_l3_noc.c @@ -300,7 +300,7 @@ static int omap_l3_probe(struct platform_device *pdev) return ret; } -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP /** * l3_resume_noirq() - resume function for l3_noc @@ -346,7 +346,7 @@ static int l3_resume_noirq(struct device *dev) } static const struct dev_pm_ops l3_dev_pm_ops = { - .resume_noirq = l3_resume_noirq, + SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(NULL, l3_resume_noirq) }; #define L3_DEV_PM_OPS (&l3_dev_pm_ops)