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: 29752 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f200.google.com (mail-yk0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 42401202E4 for ; Wed, 7 May 2014 09:04:03 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id q9sf1502532ykb.11 for ; Wed, 07 May 2014 02:04:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=gDiiWd8Y1sWrrw5sHQrr6cdEI9ZmlUwEFevfSL1CR+s=; b=N+lE/xlvkFm1fAucf3fNBV5dBgv6AbsQ7+mCCM1A7vMt1fw1JfsxyqRTev1hM1lcoq 9z5qwOw2JvLlbx39tDMWv0ZXxHCiJvSuj588b/rbEpmNRuUrI7VfKnscPKwLR7ZKlqze id/Z3Z9TVCDUDEG7NGh6vekwb9Pe66cTJKmpaDZFNZ5AEAawZ/zzh8NLsbtpCDAL3Pmj +WLwxaZAN8Z9fDV1sP6PRBDUKBtItQeioPS4rJmsY9r4f4JUY/LpLV+QstB+4bUz+1d2 VEmMZYoqCifxuyy/rVycpYUyBGyP1T6/PTX+3Ehia97X1ARQCsfeKmM2nQGe7fNArjjf iKZQ== X-Gm-Message-State: ALoCoQm+7B0PhnV81+oJORxyZQkbUxe37WenoEU1BXRInbl9uY5CC9m7uqhPBqKO1nQ7YVD/9rIF X-Received: by 10.224.13.12 with SMTP id z12mr3756429qaz.7.1399453443031; Wed, 07 May 2014 02:04:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.106.98 with SMTP id d89ls1484349qgf.57.gmail; Wed, 07 May 2014 02:04:02 -0700 (PDT) X-Received: by 10.220.162.6 with SMTP id t6mr38325672vcx.12.1399453442944; Wed, 07 May 2014 02:04:02 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id tl10si2790813vcb.103.2014.05.07.02.04.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 02:04:02 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id db11so867860veb.15 for ; Wed, 07 May 2014 02:04:02 -0700 (PDT) X-Received: by 10.58.230.103 with SMTP id sx7mr11555300vec.28.1399453442875; Wed, 07 May 2014 02:04:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp291538vcb; Wed, 7 May 2014 02:04:02 -0700 (PDT) X-Received: by 10.180.73.140 with SMTP id l12mr25348240wiv.3.1399453441958; Wed, 07 May 2014 02:04:01 -0700 (PDT) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by mx.google.com with ESMTPS id gd15si5468611wic.121.2014.05.07.02.04.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 02:04:01 -0700 (PDT) Received-SPF: none (google.com: ulf.hansson@linaro.org does not designate permitted sender hosts) client-ip=74.125.82.47; Received: by mail-wg0-f47.google.com with SMTP id x12so673145wgg.30 for ; Wed, 07 May 2014 02:04:01 -0700 (PDT) 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 Cc: dmaengine@vger.kernel.org, Ulf Hansson 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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)