From patchwork Wed May 7 09:03:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 4126611 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B6736BFF02 for ; Wed, 7 May 2014 09:06:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8A54201B9 for ; Wed, 7 May 2014 09:06:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2830C20120 for ; Wed, 7 May 2014 09:06:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Whxm7-0000bX-9v; Wed, 07 May 2014 09:04:27 +0000 Received: from mail-we0-f178.google.com ([74.125.82.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Whxm4-0000YD-BJ for linux-arm-kernel@lists.infradead.org; Wed, 07 May 2014 09:04:24 +0000 Received: by mail-we0-f178.google.com with SMTP id u56so684736wes.9 for ; Wed, 07 May 2014 02:04:01 -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; bh=gDiiWd8Y1sWrrw5sHQrr6cdEI9ZmlUwEFevfSL1CR+s=; b=GP1B407tzdMFz2TGScmc6h+uKB13TsxHWEN096nhseUerrXfO1pEB3cQGxDqda4Wdt QO7hQjh/iZfaZt355r8+QAfIDs0TM9lA7aevGU8w/Z/3OboKHDfbr1Bp3BxN1hIDlC90 TzfcCygg4wdF9SYPKs6UPkIkpHNoVs4FQ7X1aqx0i4M1E2fb0+tjO4yqE//Shrh3fPH3 ar851mjjOiZLaU6Ws1tMuKs6S8ISMi6cYk7KRCddIM1RQIOSX7gbGNom35/Jr/No1rH1 ienLFITD8K8aNSs+L1z1NFQVBQVtUFytTR4G2vDrJafirqOHI51d4xIyZGsZqVcG9Hlq oVhA== X-Gm-Message-State: ALoCoQk9uJaIefyQOyJfDWLXkr0MdqklyT34O+cJ7X5JG7DycdxtqNNXuGoF/lCHolXbnhUcd86m X-Received: by 10.180.81.36 with SMTP id w4mr6567551wix.36.1399453441353; Wed, 07 May 2014 02:04:01 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id fq2sm19155761wib.2.2014.05.07.02.03.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 02:04:00 -0700 (PDT) From: Ulf Hansson To: Vinod Koul , Dan Williams , Linus Walleij , linux-arm-kernel@lists.infradead.org Subject: [PATCH] dma: ste_dma40: Convert to the late system PM callbacks Date: Wed, 7 May 2014 11:03:57 +0200 Message-Id: <1399453437-24195-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140507_020424_535915_09DC5B21 X-CRM114-Status: GOOD ( 11.05 ) X-Spam-Score: -0.7 (/) Cc: dmaengine@vger.kernel.org, Ulf Hansson 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 Clients may still be active in the early phase of system PM, thus we need to move the suspend operations to the late system PM phase. Signed-off-by: Ulf Hansson --- drivers/dma/ste_dma40.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index b539fc9..c798445 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -3051,7 +3051,7 @@ static int dma40_runtime_resume(struct device *dev) #endif static const struct dev_pm_ops dma40_pm_ops = { - SET_SYSTEM_SLEEP_PM_OPS(dma40_suspend, dma40_resume) + SET_LATE_SYSTEM_SLEEP_PM_OPS(dma40_suspend, dma40_resume) SET_PM_RUNTIME_PM_OPS(dma40_runtime_suspend, dma40_runtime_resume, NULL)