From patchwork Tue Oct 6 12:27:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 54528 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id B290F22FC5 for ; Tue, 6 Oct 2015 12:27:36 +0000 (UTC) Received: by lbos8 with SMTP id s8sf23874046lbo.2 for ; Tue, 06 Oct 2015 05:27:35 -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=4KU4WK5lp1YhWWcq8/k87pcJf+DFFN527GB7AFK+Mug=; b=iskQ2b1xAK3FVfIT9k+s07wst54XUSvlfit3Kbhm7im4MmL3rKCHKVMFw96wTfBn5g ccDLAYbjwQvYyVbARj6DZBJu5yCz/YrxWkNbLcT32/uzdE7pqK68MO/GB4g5Q73C6Zwy FuWfIMTUoMcqrAFdJVrtqcXKZ5IY/1yZD3qDOIOiAuUzBGMUeLVS23S/HUKc0wTd5W/G LtxWtRHdaIm1UM8TPGRaYUvMSHuTyrfA8TejLM8w1wi20rN0TSzYeXu4IfPie7Cb5E56 1AP+y/93I6kbaagoWWqmXHW9+omf6MifWIS2rYrlQQXOPU+hU3dWsJ5J/NXV65BT4hyF /stw== X-Gm-Message-State: ALoCoQk+gr3JrcdbrrS3Rez3TD5Mx06t2TUal0DuIOk8pDqRDxk/K+zRj1CuKJNcdow0TytowfZs X-Received: by 10.112.63.165 with SMTP id h5mr6474901lbs.18.1444134455592; Tue, 06 Oct 2015 05:27:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.18.93 with SMTP id h90ls576161lfi.9.gmail; Tue, 06 Oct 2015 05:27:35 -0700 (PDT) X-Received: by 10.112.150.67 with SMTP id ug3mr14665590lbb.13.1444134455464; Tue, 06 Oct 2015 05:27:35 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id j82si20748431lfi.38.2015.10.06.05.27.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2015 05:27:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lafb9 with SMTP id b9so54628955laf.0 for ; Tue, 06 Oct 2015 05:27:35 -0700 (PDT) X-Received: by 10.25.38.9 with SMTP id m9mr9202855lfm.112.1444134455357; Tue, 06 Oct 2015 05:27:35 -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.59.35 with SMTP id w3csp1820940lbq; Tue, 6 Oct 2015 05:27:34 -0700 (PDT) X-Received: by 10.25.20.80 with SMTP id k77mr9385094lfi.117.1444134454870; Tue, 06 Oct 2015 05:27:34 -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 uk7si20709437lbc.164.2015.10.06.05.27.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2015 05:27:34 -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 lbbwt4 with SMTP id wt4so37495779lbb.1 for ; Tue, 06 Oct 2015 05:27:34 -0700 (PDT) X-Received: by 10.25.81.3 with SMTP id f3mr9547944lfb.44.1444134454725; Tue, 06 Oct 2015 05:27:34 -0700 (PDT) Received: from localhost.localdomain (c-83-233-167-104.cust.bredband2.com. [83.233.167.104]) by smtp.gmail.com with ESMTPSA id rs1sm2567895lbb.21.2015.10.06.05.27.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Oct 2015 05:27:33 -0700 (PDT) From: Ulf Hansson To: "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , linux-pm@vger.kernel.org Cc: Len Brown , Pavel Machek , Geert Uytterhoeven , Lina Iyer , Krzysztof Kozlowski , Russell King , Andrew Lunn , Gregory CLEMENT Subject: [PATCH 1/4] soc: dove: Let genpd deal with disabling of unused PM domains Date: Tue, 6 Oct 2015 14:27:30 +0200 Message-Id: <1444134450-17895-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 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.215.53 as permitted sender) smtp.mailfrom=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: , Genpd tries from a late_initcall to disable unused PM domains, which makes it unnecessary to also manage this from any earlier phase when for example initializing a genpd. Cc: Russell King Cc: Andrew Lunn Cc: Gregory CLEMENT Signed-off-by: Ulf Hansson --- drivers/soc/dove/pmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/dove/pmu.c b/drivers/soc/dove/pmu.c index 052aecf..abd0879 100644 --- a/drivers/soc/dove/pmu.c +++ b/drivers/soc/dove/pmu.c @@ -396,7 +396,6 @@ int __init dove_init_pmu(void) __pmu_domain_register(domain, np); } - pm_genpd_poweroff_unused(); /* Loss of the interrupt controller is not a fatal error. */ parent_irq = irq_of_parse_and_map(pmu->of_node, 0);