From patchwork Thu Oct 4 08:04:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 11974 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 3804624157 for ; Thu, 4 Oct 2012 08:05:19 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id BA4A2A180A7 for ; Thu, 4 Oct 2012 08:05:18 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so84008iag.11 for ; Thu, 04 Oct 2012 01:05:18 -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:in-reply-to:references :mime-version:content-type:x-gm-message-state; bh=sdAB9dtHF7Q+KpWXYuXtVLcIkr2suJ/Fa0JDFROKeYQ=; b=CGpNXhYOL9NVgNZ3El05TwKJAVFAjgRGO8JWC6wL+rF6oE+7rv71LvEGfEp//9vUGp tzvl0iqhNjYbbf0PXNHvMIgSgyW0vWz8VWQxkH3O+6DHIcHOG0n/8P6ZGKhYi1ricnH7 57QL23eNR08qzd2UHGDywFUTOQIH3KSY6Cj/+yT6suCB3/niceklvXsPkrRgHmP97B/i yZsbSSyp/7yWLQT40EKJ8F5S9WVpbhET+55KqZbc3gB8G2GufekQfuUT2UTybiG9eDrM bLcy0FnA2TwHInu7Sa1H/yZs2Zr1C+1pTzU45bP17+Y31Ed0zIj9qieobm8UGUV2BGit Q1xg== Received: by 10.50.7.212 with SMTP id l20mr4333822iga.43.1349337918032; Thu, 04 Oct 2012 01:05:18 -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 ex8csp54083igc; Thu, 4 Oct 2012 01:05:17 -0700 (PDT) Received: by 10.14.218.134 with SMTP id k6mr6273021eep.14.1349337916109; Thu, 04 Oct 2012 01:05:16 -0700 (PDT) Received: from eu1sys200aog101.obsmtp.com (eu1sys200aog101.obsmtp.com [207.126.144.111]) by mx.google.com with SMTP id f43si2894201eem.30.2012.10.04.01.05.01 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Oct 2012 01:05:16 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.111 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) client-ip=207.126.144.111; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.111 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) smtp.mail=ulf.hansson@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob101.postini.com ([207.126.147.11]) with SMTP ID DSNKUG1DKDW8mjbnd2sPzaVFxhhSAjDR0lIt@postini.com; Thu, 04 Oct 2012 08:05:15 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 D0F22E9; Thu, 4 Oct 2012 07:56:36 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id B32C8D9B; Thu, 4 Oct 2012 08:04:49 +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 relay2.stm.gmessaging.net (Postfix) with ESMTPS id 68221A8065; Thu, 4 Oct 2012 10:04:45 +0200 (CEST) Received: from steludxu1397.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; Thu, 4 Oct 2012 10:04:48 +0200 From: Ulf Hansson To: Mark Brown , Grant Likely , Cc: , Linus Walleij , Vipul Kumar Samar , Viresh Kumar , Russell King , Ulf Hansson Subject: [PATCH V2 1/3] Revert "spi/pl022: fix spi-pl022 pm enable at probe" Date: Thu, 4 Oct 2012 10:04:39 +0200 Message-ID: <1349337881-15917-2-git-send-email-ulf.hansson@stericsson.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349337881-15917-1-git-send-email-ulf.hansson@stericsson.com> References: <1349337881-15917-1-git-send-email-ulf.hansson@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQltH5cjYmYHZxNs+ZlkKKml9/qAdayttsxW31fToSm2riHqbKVuUw2hoqkRNkPEuG4jkRRk From: Ulf Hansson This reverts commit 6887237cd7da904184dab2750504040c68f3a080. This reverts is done due to earlier wrong commit, which is also reverted. "Revert "spi/pl022: enable runtime PM"" Signed-off-by: Ulf Hansson Reviewed-by: Linus Walleij --- drivers/spi/spi-pl022.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c index 9194641..5cf0643 100644 --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c @@ -2186,6 +2186,7 @@ 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 = devm_clk_get(&adev->dev, NULL);