From patchwork Fri Mar 13 15:43:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 45797 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 327AE214BF for ; Fri, 13 Mar 2015 15:44:44 +0000 (UTC) Received: by lbiz11 with SMTP id z11sf17430502lbi.2 for ; Fri, 13 Mar 2015 08:44:43 -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:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=NDqRmp92nrxy1I3gKMFytlefsDN1wbQujkrBbXuBejw=; b=k2TFqxJtEAiGIc+8uPPy2zOKJdSh6W7ogY050r3xLOlDYkNgQYv8AC0JKiHznfZP92 zJ+SpRJTySFwQaVYJytPeILW55CvUSKSS/Dlaua5/9ZZIvzBOKTEL5ogFBp9tlDXe3Qq Kysk62hQi73K6eHvjovym7qqthRiDl7dKsReDk+UsKhyGE4DplVdVim7MrpIZF4RhBVv Yc9xqOIomZr+UN4YjUntgsvccP1O7y4cndKamOUrMwtI0+FciMO7xUETF73jugW6s4b5 5EF8A97DBrm9cUTHNYxTLgbYtLi+vwnvFpx8dxkl4Te6Dyv+FvewXWZqA5ASaQS+WpAc Zd/Q== X-Gm-Message-State: ALoCoQlUOyw9guYGf5bL8ufAFAIIq4Ia2tfHYSQwMOzWBQQd+sO1TJ4ZTXpUCwQQJhhVqB8J1Hi4 X-Received: by 10.112.41.131 with SMTP id f3mr7506121lbl.20.1426261482962; Fri, 13 Mar 2015 08:44:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.68 with SMTP id y4ls438288lay.12.gmail; Fri, 13 Mar 2015 08:44:42 -0700 (PDT) X-Received: by 10.152.8.52 with SMTP id o20mr15464110laa.4.1426261482825; Fri, 13 Mar 2015 08:44:42 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id y5si1639102lag.88.2015.03.13.08.44.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2015 08:44:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbiw7 with SMTP id w7so23682464lbi.7 for ; Fri, 13 Mar 2015 08:44:42 -0700 (PDT) X-Received: by 10.112.201.231 with SMTP id kd7mr23334419lbc.35.1426261482752; Fri, 13 Mar 2015 08:44:42 -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.112.35.133 with SMTP id h5csp1000305lbj; Fri, 13 Mar 2015 08:44:42 -0700 (PDT) X-Received: by 10.152.116.11 with SMTP id js11mr21980602lab.106.1426261465457; Fri, 13 Mar 2015 08:44:25 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id py2si1646780lbb.33.2015.03.13.08.44.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2015 08:44:25 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbvn10 with SMTP id n10so23745887lbv.1 for ; Fri, 13 Mar 2015 08:44:25 -0700 (PDT) X-Received: by 10.112.114.164 with SMTP id jh4mr44044984lbb.21.1426261465349; Fri, 13 Mar 2015 08:44:25 -0700 (PDT) Received: from uffe-Latitude-E6430s.lan (90-231-160-185-no158.tbcn.telia.com. [90.231.160.185]) by mx.google.com with ESMTPSA id i9sm471248lbs.26.2015.03.13.08.44.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Mar 2015 08:44:24 -0700 (PDT) From: Ulf Hansson To: "Rafael J. Wysocki" , Len Brown , Pavel Machek , Kevin Hilman , linux-pm@vger.kernel.org Cc: Geert Uytterhoeven , Dmitry Torokhov , Russell King , Greg Kroah-Hartman , Mark Brown , Wolfram Sang , linux-arm-kernel@lists.infradead.org, Ulf Hansson Subject: [PATCH 9/9] Revert "PM / Domains: Power on the PM domain right after attach completes" Date: Fri, 13 Mar 2015 16:43:49 +0100 Message-Id: <1426261429-31883-10-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426261429-31883-1-git-send-email-ulf.hansson@linaro.org> References: <1426261429-31883-1-git-send-email-ulf.hansson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) 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: , Due to the invent of dev_pm_domain_get|put() API and related code in the generic PM domain, we can now safely revert this commit. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 7314459..e89eb74 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -2220,7 +2220,6 @@ int genpd_dev_pm_attach(struct device *dev) } dev->pm_domain->detach = genpd_dev_pm_detach; - pm_genpd_poweron(pd); return 0; }