Message ID | cc2aa18e2e6004ba099e69b41d0d505a4361443c.1571314830.git.amit.kucheria@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp849544ill; Thu, 17 Oct 2019 05:27:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsihxkT4OFvwz2/iF0swVAlPqY+nBLlH7JYQTx7gqJROEIrf4fjxKa48nTOZidc1WqrZR0 X-Received: by 2002:a05:6402:8cf:: with SMTP id d15mr3348474edz.225.1571315278304; Thu, 17 Oct 2019 05:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571315278; cv=none; d=google.com; s=arc-20160816; b=kL+3MzMcLnCyqJMrQ3WAVF9ht6oX/omiNxzOIIWCF8tIFfCXDG/hlAyZcmowygJQDk vXYLJR7KRQ7en2DI0hDWB6LrvqOAM3NOtfAC7Wd1uIGZq+7VHgLuYWm3l28DT+wyDkik ZoHPbVuuyH/AweM5zERMqnpcN/UhtmhNmMYrd/ZQ7SEe4itCWu4a2bTIuGFnkeWiUa+l 8A+V8DX1ovYhj0KoZcvkSSWktwMET9yhwVj8+VDopttMJWw4IyGnHLBjkqxbF79X3fBz VWyY4hPv9ZEojq16ddIvFFLHChAM0HpwzztDlL9F3Cp3WyG+q/Ql1EVZPtyi0KQ1fseo dBZQ== 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=J2+dIH77bj5pUXUsovECtUNC+eDZQzRNadhd1RCEVqs=; b=BL5tpyUI7FxMdYkrIhPrIm2H0wEzkHO/RDneCexjeDny+jeCxx2EIAlFGNVE9VqJVl IES+Q0LoyEUc1TqtwlAR0HFN8s1Rq1cmr/48jdXncUZuh63hSR+cXJmgAVQuTx+zvK6e FapQI1mUkLyk0C+9gsznY5a4nIsNsptIs1j1oJZL8PZP0T8i/PJULmQH8LTjXlVmP2y8 PfIB7iv0LC3wS3eMlLOYQRvMmDhfMSRz2wi9vuvoysMzP/oMl7a44xdiag4saHxpBhoM eIxF7wb4UmQw0KsKAQy3DGeTUppAlzAqhnw1hNufeQFMSUOuX8zZxg8GudBVkBvaTopy brhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H8ydhIBW; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nh5si1259865ejb.154.2019.10.17.05.27.57; Thu, 17 Oct 2019 05:27:58 -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=H8ydhIBW; 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 S2502343AbfJQM1x (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Thu, 17 Oct 2019 08:27:53 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45801 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502333AbfJQM1w (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 17 Oct 2019 08:27:52 -0400 Received: by mail-pf1-f193.google.com with SMTP id y72so1551991pfb.12 for <linux-kernel@vger.kernel.org>; Thu, 17 Oct 2019 05:27:52 -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=J2+dIH77bj5pUXUsovECtUNC+eDZQzRNadhd1RCEVqs=; b=H8ydhIBW4Hdav4jAbhdZFLfJHJ/rNTYXcPXSEpoc1DBwisHhHI2hsG9clVYOgLtj5Q lwx83X6r3G55GLeR9g55BvIxOwYOzNyZeHAmUKLgPyo5rPoXK0lxel4Nrp+YnCViHgNS GtvuCSCCb51pgg5WL64XgulygN4+2/iTQa39xCZjpAkuwLrkRehJR9O2DPH8k/F1ARfs IRPkGRYPhsEr5qrRWF7lytjQ7cNCDA0S2kJDoVsXnh8lSVkgwkN6YNmstydqRPPieqpw C3OsKtmoRM2XSUxCOT+zeAfxj7MuKI+45kSs77GROL4WWApel3iJZTmUv+RsR+Q+WMpb Y2Hg== 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=J2+dIH77bj5pUXUsovECtUNC+eDZQzRNadhd1RCEVqs=; b=eimEhYg2h5UCYExpzC6iR2xcTXcPLq+8EL4nUlGTQx6/J/AApiqtjMq8+FO/UDSdd0 6fyPdHCbUmObc1XdYwIzPKRBsSVa56lI+BMPfocT9qEi9w1sL4+614WooZBqwqU3nH2R MUSdp634xM4HggiCcip31yAjfTF6Yl8UKRUUi5gbYkFbzEu92dHOWyzuTzFZzIlUDGbj FcDisb9K1H/xmEDhvlcV2DmwLcPz9Tx8V2Au1hp62fIOfX7FRGfUWu73fmnCU7vuUlnV Ad5AHaoFz6brQPNVNPl6D3QBdakr40zhxfemm6agbqCIXB8apYOtu1ZjT3QFOrWrwFQk 72JQ== X-Gm-Message-State: APjAAAXoO5lspd1HqVcFfx3+F30+BwJEubXBkhc2vG+kl42G65pJ6It6 9E2ptBpTH3DquXMUfZHpKP+5nTkZeP/NpA== X-Received: by 2002:a63:1f25:: with SMTP id f37mr3859122pgf.50.1571315271392; Thu, 17 Oct 2019 05:27:51 -0700 (PDT) Received: from localhost ([49.248.54.231]) by smtp.gmail.com with ESMTPSA id q76sm4615049pfc.86.2019.10.17.05.27.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 05:27:50 -0700 (PDT) From: Amit Kucheria <amit.kucheria@linaro.org> 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" <rjw@rjwysocki.net>, Amit Kucheria <amit.kucheria@verdurent.com>, Zhang Rui <rui.zhang@intel.com> Cc: linux-pm@vger.kernel.org Subject: [PATCH v3 2/6] thermal: Initialize thermal subsystem earlier Date: Thu, 17 Oct 2019 17:57:34 +0530 Message-Id: <cc2aa18e2e6004ba099e69b41d0d505a4361443c.1571314830.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <cover.1571314830.git.amit.kucheria@linaro.org> References: <cover.1571314830.git.amit.kucheria@linaro.org> In-Reply-To: <cover.1571314830.git.amit.kucheria@linaro.org> References: <cover.1571314830.git.amit.kucheria@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index d21b754baee2..d8251d723459 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1537,4 +1537,5 @@ static int __init thermal_init(void) mutex_destroy(&poweroff_lock); return result; } -fs_initcall(thermal_init); + +core_initcall(thermal_init);
Now that the thermal framework is built-in, in order to facilitate thermal mitigation as early as possible in the boot cycle, move the thermal framework initialization to core_initcall. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> --- drivers/thermal/thermal_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1