Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp868781ybg; Fri, 18 Oct 2019 08:33:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzL/9UhOCewS4URzYwr/Gm5JC3E37GP6VLLKhnObNHEvyCCqbstP92H1vNMX+V/7pnOy2QF X-Received: by 2002:a50:f384:: with SMTP id g4mr10084219edm.282.1571412814759; Fri, 18 Oct 2019 08:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571412814; cv=none; d=google.com; s=arc-20160816; b=CJQgy6sqlilxIFM9AjUblFmw+23efYFrrUghpL7MdDtslth0JSlC6P2dOZIEmQz3AA MXDVEzz6QMJVr0s2oQZamjARaBWfEryBcxWDlO0GUjIVTPg3N52SNV7XDRa7jVbaecHB gqrtFyVoei53igHdrcUX43e6KkU/9L7GBweJKdbFazxyAhnChi4uWfn9yTIYm0uUyQIK C9WkeVYPNENE3g6KU9URwMYi6WhGzV1wrXq13Zx/wx920X5DVvZFS/gJbMqSB5YtXQlm jRnfA0no8Eba1i+DxKwV7/53QWbeFrv4t4picbClC/+ES+U8VV2wLc6SWmDZKiecuK/D IjXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=smRwPgvncTjnAR1YtPvLb1bA4/kxUscSlcxDGMtB+pk=; b=NGt869AKxDBJCA+OzkMqc7dQgG7gVGj4Xl2hvdzTIFMxPFXR4ke8s7gKV4d8t2g1WP 0vDX6wTQwj8odcKoyoGkGNUOwUhaet39rj/oDmKUieZBhZljX+GxA9jPA3pJD5pK2OTh Tp18xbtLaXZrKS1QcPXg16XLfgVO0+IOCSCIZ2JP7Z1iL0qoV2F62lq4WUFsQfqTYpov /qJ7c5JiuUSWAuUu8XMhg5fCFz02heS1GrTyo4G607jXwm/Zbyputu5E+B6+MS3Q27bA VBjqWcGwG1Xc9KY5+v0kqc9HiD1QHD2XmjB3eTk1533zEePgSp9mbS7BYUlNZqeHrgc/ +cUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DDQW0dW0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si3562711ejs.415.2019.10.18.08.33.11; Fri, 18 Oct 2019 08:33:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DDQW0dW0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502010AbfJQKbZ (ORCPT + 99 others); Thu, 17 Oct 2019 06:31:25 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:38121 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2501999AbfJQKbT (ORCPT ); Thu, 17 Oct 2019 06:31:19 -0400 Received: by mail-pl1-f193.google.com with SMTP id w8so925501plq.5 for ; Thu, 17 Oct 2019 03:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=smRwPgvncTjnAR1YtPvLb1bA4/kxUscSlcxDGMtB+pk=; b=DDQW0dW0reHs8t1GXSVyT9VgUmlnBcjxefVEiiSkhjqDBKk6/6035Yl+3gAe3iREvz aEfAlmZCgqggMlR75cYhw+NRjIvUTX3lNVXQaue09BQetHpE9/mVW5+bwVYmASPpCUCg VMiBx7zjSopPB1lPhYghf7lylEASdwn+lDyZlX8eQoajYOkkQEjL3P0oebZJ6/uTY02u RcEl7YAv7sTaoQm6kcNNyFyUE2y6HJuT4r+UCVJLimmo39wSX5IPtjB7oNJvysjqpL0J OZiN61pd5RMvEfFfpAULYiMAeW0j7gMu9I9ZyY8z490J2vX9UEWcA1DdQBqobPtpq2Bc hM6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=smRwPgvncTjnAR1YtPvLb1bA4/kxUscSlcxDGMtB+pk=; b=AQoc/FsPTGPgHnd4IgpWIMqBIFek2qN4s3yw2CG34E7ORCmroHyp0CrVczGhRRI/2n TYI6V/9Pzn4x10fcUjC4h6lOWm2d3KrpTXmb+NuqH2LdKFxqHTafeHtRX3l3Sxhkrbpw yXKQGj+Yv4DONrY3pY4NJmB10aIhuKUE7kh9p7cWZp3MFsnt1XA7WmQmfqzsY3d1rQlZ Z+sAqedMd1qYF//AOKPPi7mssHrLBNw9OCTbif8FEQgF3KwSSRx82vb0jLJzruq9GZaS 3+MXbCX1rbreia7vNhWf91LOM0Y+bdolmhGe863FEj57nIRDZm4z3EuP3dd79X0wfhpN r36w== X-Gm-Message-State: APjAAAXnWx0XahZFaNJ3znc0TeJfO+BB9BLjjAw8GzLHrsfuf8UT43HQ 1UdHS7YcqD4VqpsPQPXfMuCCYb6DtizvCg== X-Received: by 2002:a17:902:bd47:: with SMTP id b7mr3278948plx.28.1571308278241; Thu, 17 Oct 2019 03:31:18 -0700 (PDT) Received: from localhost ([49.248.54.231]) by smtp.gmail.com with ESMTPSA id p189sm2040225pfp.163.2019.10.17.03.31.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 03:31:17 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, viresh.kumar@linaro.org, sudeep.holla@arm.com, bjorn.andersson@linaro.org, edubezval@gmail.com, agross@kernel.org, tdas@codeaurora.org, swboyd@chromium.org, ilina@codeaurora.org, "Rafael J. Wysocki" , Amit Kucheria , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH v2 5/5] cpufreq: qcom-hw: Move driver initialisation earlier Date: Thu, 17 Oct 2019 16:00:54 +0530 Message-Id: <3468b8cf9c764ea139296ee149d33cd7a9d79e3e.1571307382.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow qcom-hw driver to initialise right after the cpufreq and thermal subsystems are initialised in core_initcall so we get earlier access to thermal mitigation. Signed-off-by: Amit Kucheria Acked-by: Daniel Lezcano --- drivers/cpufreq/qcom-cpufreq-hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c index a9ae2f84a4ef..fc92a8842e25 100644 --- a/drivers/cpufreq/qcom-cpufreq-hw.c +++ b/drivers/cpufreq/qcom-cpufreq-hw.c @@ -334,7 +334,7 @@ static int __init qcom_cpufreq_hw_init(void) { return platform_driver_register(&qcom_cpufreq_hw_driver); } -device_initcall(qcom_cpufreq_hw_init); +postcore_initcall(qcom_cpufreq_hw_init); static void __exit qcom_cpufreq_hw_exit(void) { -- 2.17.1