From patchwork Fri Aug 17 15:28:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10789 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7045E23E28 for ; Fri, 17 Aug 2012 15:29:12 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 28208A18EFD for ; Fri, 17 Aug 2012 15:29:12 +0000 (UTC) Received: by ggmi2 with SMTP id i2so4309731ggm.11 for ; Fri, 17 Aug 2012 08:29:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=z5JY7IxeG1kK/m8XxHVa9woKXticAqSyPYuMvurIoyA=; b=VN26uV3pHxUqF6j9nGns1rKKojWrkWSMuv7PWApyLlvL4DGbLJZ4aWJeVa9lmgsVpU olszIo9CRJesasmKcmUe2tiidUphCzBwhfQYRaO36Kn1XIqyV90f6sd3W+xVcwl1nl5+ sQEwNjjltH7Ohcfvu6n1pknR041nqUwS/5WCZJ9p4oV0ET2ScWBN7YIL5MC1nSyUEk7l uGgG9GTCECnMf8Q0uuOO9VBoP1dXjxUL6/vIRvXMgD6mNKX77e3nJUcratFxt0oieBpy gZVzIHNtgBUY3KSWW+xOa08WpVvsQ7/b+7cFU08kfz6Cci6GPyH6SATJMl54yxCNnSqY OdQg== Received: by 10.50.45.162 with SMTP id o2mr2479033igm.0.1345217351368; Fri, 17 Aug 2012 08:29:11 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp114380igc; Fri, 17 Aug 2012 08:29:09 -0700 (PDT) Received: by 10.14.224.4 with SMTP id w4mr6944613eep.21.1345217349104; Fri, 17 Aug 2012 08:29:09 -0700 (PDT) Received: from eu1sys200aog116.obsmtp.com (eu1sys200aog116.obsmtp.com. [207.126.144.141]) by mx.google.com with SMTP id m5si5702059een.3.2012.08.17.08.28.57 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 17 Aug 2012 08:29:09 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.141 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.141; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.141 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKUC5jODlFFHJLk0rImUcvS8cxmvxpRhMM@postini.com; Fri, 17 Aug 2012 15:29:08 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id A8080A1; Fri, 17 Aug 2012 15:20:36 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 89CF63B6; Fri, 17 Aug 2012 15:28:52 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id AB69624C080; Fri, 17 Aug 2012 17:28:43 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Fri, 17 Aug 2012 17:28:51 +0200 From: Linus Walleij To: Grant Likely , Mark Brown , Cc: Michel JAOUEN , Linus Walleij Subject: [PATCH] spi/pl022: fix spi-pl022 pm enable at probe Date: Fri, 17 Aug 2012 17:28:41 +0200 Message-ID: <1345217321-32283-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlnO7mlgkqssNWO29BubVasurmFjuMclRWd/KLGQeJSiFVdOOaXFKsyrQaRtbhR6f+X6H/N From: Michel JAOUEN amba drivers does not need to enable pm runtime at probe. amba_probe already enables pm runtime. This rids this warning in the ux500 boot log: ssp-pl022 ssp0: Unbalanced pm_runtime_enable! Signed-off-by: Michel JAOUEN Signed-off-by: Linus Walleij --- drivers/spi/spi-pl022.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c index aab518e..6abbe23 100644 --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c @@ -2053,7 +2053,6 @@ pl022_probe(struct amba_device *adev, const struct amba_id *id) printk(KERN_INFO "pl022: mapped registers from 0x%08x to %p\n", adev->res.start, pl022->virtbase); - pm_runtime_enable(dev); pm_runtime_resume(dev); pl022->clk = clk_get(&adev->dev, NULL);