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: 6282101 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8E466BEEE1 for ; Mon, 27 Apr 2015 18:25:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B2C1220390 for ; Mon, 27 Apr 2015 18:25:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF738203B1 for ; Mon, 27 Apr 2015 18:25:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965027AbbD0SYm (ORCPT ); Mon, 27 Apr 2015 14:24:42 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:34908 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965002AbbD0SYj (ORCPT ); Mon, 27 Apr 2015 14:24:39 -0400 Received: by lbbuc2 with SMTP id uc2so88921264lbb.2 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=hP5SK0d0T0CmbP8XietTXas4xZugMY8Ol/YN6qyLPTOCiPMqZoQx8FYumMvgg+tr9I IutfLjyx4r4q97sYKQvefyg0+7gbvUAh+kZup77gkaQWWkZHBipemszGnuO9YwTIsUQU gNC27ch6eL9zlLTtWNju7hAJZnCT9GtWZOXolHnvvD6oSSXxzQcpC8Gvl36XgSm75zbl P4iDAQDAMhkl0jLkYez3vIpl+R1Pz2p8NcAc6wW1eZ5lWclJkF4UVrcxjaMjn30MSPYK QzMU3iviL7vVhSO0i5eilrNBNqvgR35AQIH5SQqMFFhLEIJm/YjIWv3K2zoG45qLt7Ws Afdw== X-Gm-Message-State: ALoCoQny7MSmGmbjznFoxfDcFDMZZDOp6W0ZcSJej5BdpfbrfwbPyEUJO593orDRCEmG+5AFA3JR 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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)