Message ID | 20191127072124.30445-3-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp5735473ilf; Tue, 26 Nov 2019 23:21:59 -0800 (PST) X-Google-Smtp-Source: APXvYqwYlcwmHo5zy5gGDB1iYYAX2rBInmEIKJ15EIuh4c43XOmrA0RFjrYRlwOz/IJEkUzzlPsL X-Received: by 2002:a17:906:1a47:: with SMTP id j7mr46774653ejf.232.1574839319294; Tue, 26 Nov 2019 23:21:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574839319; cv=none; d=google.com; s=arc-20160816; b=JwHfwJ//7DtjgCS1jGGwfODpBmjE6wD8gb4ZeenvtdkPa0AS2DFE+RNnjmI/tnScCa eOeAlCnF3zHSy9r+9lbC9jvPtuQEYRe55D5djeB+aGhbAjI/N2tiyj/QJLoEdjSlEdDo 8dpzMjiFZdPmcLc0v9jWbyp8Bjy8ItaUPP82JWGMRn7xs3LwsT6shtVEbw81GQoHq5ZN 2ZbnCD006hdd6PBSr4XvpJaB7trpOTAmsxAoW9pjYkBG9iLcD4Vi6DZtRzoIhNrcHEaJ uy3A5lj1dS+epCI/qjz9/7XtFPgyU8lVL3TMiB5RNPZEYxlw59M0xQEL7xHA7IoB3sZc qTjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=ObvK4D1522uU+aqw4/rA24ESPbrBwV4/rk1T5o0KCo4=; b=eMcah+r3JsPjPjnjVCipUTVYWOiwGjht78m2FmgGwd64rYmCimmy5jdQBX0FxB+FJk umJiK8iGETboDxBXfPQJ/+WgioO1rTA2gszGgrTvlOPkaoQ0XIGL3lNOUTZSWPCS/zXk xOXhlK4MBBOuigY156uMvm43hmf8dPc2IoSb7G026FVVFAkGin/nIVO81dIgdNzr1dtd SIxh/wXNiSrxPQ4s6l+w30lZ0Td0vNJCjM28uhM0wHbTBrv/HaGZNmtl250h1zQpUxsd 7pm/tArqeN/gmrhVzUbSN6nsYhkjqX0R3i0Vp0twWafYuVIwvmHtlCg3m/Dk01ig++nJ MFKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oFYYA9ny; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si69058ejc.66.2019.11.26.23.21.59; Tue, 26 Nov 2019 23:21:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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=oFYYA9ny; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 S1726292AbfK0HVz (ORCPT <rfc822;ralph.siemsen@linaro.org> + 15 others); Wed, 27 Nov 2019 02:21:55 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:34037 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726078AbfK0HVz (ORCPT <rfc822;stable@vger.kernel.org>); Wed, 27 Nov 2019 02:21:55 -0500 Received: by mail-wm1-f67.google.com with SMTP id j18so4176269wmk.1 for <stable@vger.kernel.org>; Tue, 26 Nov 2019 23:21:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=ObvK4D1522uU+aqw4/rA24ESPbrBwV4/rk1T5o0KCo4=; b=oFYYA9nyvtJD0NpP4OebCaWnC/qREvinG7lPhmDrsRP77YXfBhQQsom68/0EfHcf5C GaIg94d82H3u28J4+gVKRyaUrgG/UPPjbCSPzSBzhjuFjPx9P4tcPBBATh9jT2wZpYdX CT12CByXLbx2kNszqYEhIXuCyuleaQlbCp/TBaqUwLW4SNrfWBry8eTCMnBdhLXi99ha UdwWkZKggaEqsq4bZ0Y7fdYjk78QTXyYC1U9EDrtWPQZTiEt2y3Ndjb/Oazd9PLeyu/j b3OMUhcjse2/Deo3YkUI2MFvT1aPI8DoLURO8YLB/12vtoqHA4R+OjaaLiZrRLjSOP2/ qUhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ObvK4D1522uU+aqw4/rA24ESPbrBwV4/rk1T5o0KCo4=; b=QnqcYbFaiJsUM9ulGzkHFLPFUEQYCsj1oRaxGEbhx9vpZ1gPC4VPdJ8PNpmZNoe5NI bnQlsCkQM99UywVaZ+r8v6hWaHjSZ18GS7DUBayOxhgvTm3AtIRDYeUNg21iq42LN9vx UTpHyxXH4dNWod9WWmHTS7RniakmCu9GxfRFNtQKdZ1TIS826V96CPgymc3uZwwzduWc 7vX+UhlOwZnza8b/cY1IqAkJYpvRIM1vveil03Pf3FfuH8ScFmtEv22215CLK+KSuYmw vaRjXof/m3KPDSkFuFqLic/FXTqXlQo2QpO/FfQ4XixcRsj7t0vKjBOFfpORWEU78Vv3 y/IQ== X-Gm-Message-State: APjAAAWaUcxvPPXQIDCNdaBtQnRI7Xtj9h2Jlou45c+7gnceRFbGv3hD RseP/lHrlzhHwTopFa+HitrCMsNGhdY= X-Received: by 2002:a05:600c:218c:: with SMTP id e12mr2794349wme.30.1574839311282; Tue, 26 Nov 2019 23:21:51 -0800 (PST) Received: from localhost.localdomain ([95.149.164.101]) by smtp.gmail.com with ESMTPSA id y6sm18151872wrn.21.2019.11.26.23.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 23:21:50 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: stable@vger.kernel.org Subject: [PATCH 4.4 3/6] cpufreq: Skip cpufreq resume if it's not suspended Date: Wed, 27 Nov 2019 07:21:21 +0000 Message-Id: <20191127072124.30445-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127072124.30445-1-lee.jones@linaro.org> References: <20191127072124.30445-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
[4.4,1/6] can: dev: can_dellink(): remove return at end of void function
|
expand
|
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 0836d2939c7a..a68a2d5ac042 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -1627,6 +1627,9 @@ void cpufreq_resume(void) if (!cpufreq_driver) return; + if (unlikely(!cpufreq_suspended)) + return; + cpufreq_suspended = false; if (!has_target())