From patchwork Tue Mar 11 01:40:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 26012 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 508042055F for ; Tue, 11 Mar 2014 01:41:09 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id wo20sf31036643obc.2 for ; Mon, 10 Mar 2014 18:41:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=B9RsYaNLg6gnouH0K424Pa3xMq27hdh2aBGdYu3WXr4=; b=jzex+oUUpcnl+Us4tBn9E/gBNb+rbdvKYY7+GY1wb7tbpJ9L90M8zyLV09Vg6WCq7U ClNJAh/pdfibr6BLnhZdkNf7O11hG08DN6r/pzaWUW3yotJa8SShSr0890JWUyxbn5gQ RjF+DSpyE/FTGIBa0z2sMud57FCUHSHpCIywUyO72IA0qwQYcLTYxLXm2B06dTQR83Ah z0jXtai8qewRsu0USPt1N78/J5qwLK2wbiY2Hqo3SjRTmTrlSTNnzpQ15yO9m6uOGx3T 4Z4OUbiLhGS+fNIfyC0l6tLvEDybgqCQrkQ8NnlFL43pdGMWiv9FLrn4ENn8jy+rnF3t E4qA== X-Gm-Message-State: ALoCoQl3iP2tnvgtSz+Z1eR9IL61FJqx/oNiUMkjjc18N4rNcrRaB6NAb/NKyOVTllzvNjmicJrN X-Received: by 10.43.125.196 with SMTP id gt4mr4600120icc.32.1394502068749; Mon, 10 Mar 2014 18:41:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.161 with SMTP id o30ls2382063qga.94.gmail; Mon, 10 Mar 2014 18:41:08 -0700 (PDT) X-Received: by 10.58.212.200 with SMTP id nm8mr17190509vec.11.1394502068538; Mon, 10 Mar 2014 18:41:08 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id v17si5317669vcj.92.2014.03.10.18.41.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 18:41:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id lf12so2087510vcb.25 for ; Mon, 10 Mar 2014 18:41:08 -0700 (PDT) X-Received: by 10.52.18.70 with SMTP id u6mr25156666vdd.11.1394502068376; Mon, 10 Mar 2014 18:41:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp166701vck; Mon, 10 Mar 2014 18:41:07 -0700 (PDT) X-Received: by 10.180.24.227 with SMTP id x3mr813996wif.41.1394502067517; Mon, 10 Mar 2014 18:41:07 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id lp10si20376950wjb.12.2014.03.10.18.41.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Mar 2014 18:41:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNBgX-0006PY-5Q; Tue, 11 Mar 2014 01:40:49 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNBgU-0003H7-LN; Tue, 11 Mar 2014 01:40:46 +0000 Received: from mail-pd0-f175.google.com ([209.85.192.175]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WNBgR-0003GR-QF for linux-arm-kernel@lists.infradead.org; Tue, 11 Mar 2014 01:40:44 +0000 Received: by mail-pd0-f175.google.com with SMTP id x10so7833514pdj.34 for ; Mon, 10 Mar 2014 18:40:16 -0700 (PDT) X-Received: by 10.66.155.7 with SMTP id vs7mr44162607pab.42.1394502013923; Mon, 10 Mar 2014 18:40:13 -0700 (PDT) Received: from localhost.localdomain ([140.206.182.114]) by mx.google.com with ESMTPSA id sx8sm94670792pab.5.2014.03.10.18.40.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 18:40:12 -0700 (PDT) From: Haojian Zhuang To: mturquette@linaro.org, linux-arm-kernel@lists.infradead.org, xuwei5@hisilicon.com Subject: [PATCH 1/3] clk: hisi: assign missing clk to table Date: Tue, 11 Mar 2014 09:40:00 +0800 Message-Id: <1394502002-31058-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140310_214043_923611_C17B20AD X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.175 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Haojian Zhuang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: haojian.zhuang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The fixed rate and fixed factor clock isn't registered to clk table. Signed-off-by: Haojian Zhuang --- drivers/clk/hisilicon/clk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/hisilicon/clk.c b/drivers/clk/hisilicon/clk.c index a3a7152..18fc21f 100644 --- a/drivers/clk/hisilicon/clk.c +++ b/drivers/clk/hisilicon/clk.c @@ -68,6 +68,7 @@ void __init hisi_clk_register_fixed_rate(struct hisi_fixed_rate_clock *clks, __func__, clks[i].name); continue; } + clk_table[clks[i].id] = clk; } } @@ -87,6 +88,7 @@ void __init hisi_clk_register_fixed_factor(struct hisi_fixed_factor_clock *clks, __func__, clks[i].name); continue; } + clk_table[clks[i].id] = clk; } }