From patchwork Fri Feb 8 02:25:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 157790 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1408905jaa; Thu, 7 Feb 2019 18:25:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IaTo9C3ZHpL0pKUp6gBoBKmSZCoQRywLRloGMxLCGToLTneWfX/TtZUv2qgCmMthbs5kc8z X-Received: by 2002:a63:c303:: with SMTP id c3mr3286224pgd.268.1549592745500; Thu, 07 Feb 2019 18:25:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549592745; cv=none; d=google.com; s=arc-20160816; b=051LvFoFe8KZPQI/SQmNTdvVK7AUPKn8Y7EhZ87sU8Q1ezoIcvdfDMlg96dNch4ZKl 7kPBCJUjh/GuHG4uujh9Gcr6367VwUuhCOEIp72BaKMhUXSVDaKmGVt7ZetAo/puqvi8 coCkzVBFnA95ZsDv9FufyqmvPmE4momnwyUfm+EhkerQgUf+fCeSinuCnvFTUY2DzZ26 y23ghJpfR1eUawYO2BaEj9Xh3jt7j+Xk++zeSCGwGO/zFLxZR3IBlKBVDfTi53a8vmSm DlZSU1yRs0RSgdMBYQa7tcAhYCcZbYzr00C8X/o2rRuTQhl/q5L+ET8pD8JJArnMSeEs Jctg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Wf9KZLQN/SNefE/MVCDR1AwNkR+knizAVhbmml7Z1YA=; b=ycYaJsb4JRX4YrupvX1e8g4hvwq36ffcG4udjg8XXf/SJfO7/8dLN3S8R4uU1R5Yym guG+kbzao5LtIGNBqU0zysfo8e+CHjfelpgDUp0nuDV/z5X8Z3ylGbId2QThhKJ0zQR9 0pmrUrO3MtMSB4/3/sO6oVD2EFLdG4++BiD5x+8HpBg0CUIcMhdRquMjS3XUadNY5nYh xEHNUFGYdWACn56NpunW03Z1G3Gp8E5Rq2TCB0qn0hvqDcwTrDgy0Df7k6BjgK5T0Yii VhuatmDKmWCpl/07nnMWA5xjIiamDBA5EWhvHQRN9ui7bCJvuz3KfO+oQ2ZjDCjouub9 +Gxg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e15si825599pgg.281.2019.02.07.18.25.44; Thu, 07 Feb 2019 18:25:45 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726956AbfBHCZm (ORCPT + 31 others); Thu, 7 Feb 2019 21:25:42 -0500 Received: from mx.socionext.com ([202.248.49.38]:20693 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbfBHCZm (ORCPT ); Thu, 7 Feb 2019 21:25:42 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 08 Feb 2019 11:25:40 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id E9A0C180C05; Fri, 8 Feb 2019 11:25:40 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 8 Feb 2019 11:25:40 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 7F30B1A04E1; Fri, 8 Feb 2019 11:25:40 +0900 (JST) From: Kunihiko Hayashi To: Michael Turquette , Stephen Boyd , Masahiro Yamada Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Masami Hiramatsu , Kunihiko Hayashi , linux-stable@vger.kernel.org Subject: [PATCH] clk: uniphier: Fix update register for CPU-gear Date: Fri, 8 Feb 2019 11:25:23 +0900 Message-Id: <1549592723-18494-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Need to set the update bit in UNIPHIER_CLK_CPUGEAR_UPD to update the CPU-gear value. Fixes: d08f1f0d596c ("clk: uniphier: add CPU-gear change (cpufreq) support") Cc: linux-stable@vger.kernel.org Signed-off-by: Kunihiko Hayashi --- drivers/clk/uniphier/clk-uniphier-cpugear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 Acked-by: Masahiro Yamada diff --git a/drivers/clk/uniphier/clk-uniphier-cpugear.c b/drivers/clk/uniphier/clk-uniphier-cpugear.c index ec11f55..5d2d42b 100644 --- a/drivers/clk/uniphier/clk-uniphier-cpugear.c +++ b/drivers/clk/uniphier/clk-uniphier-cpugear.c @@ -47,7 +47,7 @@ static int uniphier_clk_cpugear_set_parent(struct clk_hw *hw, u8 index) return ret; ret = regmap_write_bits(gear->regmap, - gear->regbase + UNIPHIER_CLK_CPUGEAR_SET, + gear->regbase + UNIPHIER_CLK_CPUGEAR_UPD, UNIPHIER_CLK_CPUGEAR_UPD_BIT, UNIPHIER_CLK_CPUGEAR_UPD_BIT); if (ret)