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: 3808531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 018E59F1CD for ; Tue, 11 Mar 2014 01:40:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 162B72021A for ; Tue, 11 Mar 2014 01:40:59 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 197362020F for ; Tue, 11 Mar 2014 01:40:58 +0000 (UTC) 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-0006PZ-8f; 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=diz5fbSSbJ/OLN65Fla5oqJSCySl9T8JAVMQPE7ttv4=; b=RzqjhETEPSwsvz9npJYQ3OiBe2wRxJ0Foi/RhdwwqD6TiJFFWC44oqhEBRnNIbECcN nllZxJy66VAhWFSlhqYbzWamscE4YbeG6SriXVKPcoR9rQZ38sWwooRb4JpNYqEZTkU+ RGSeYv/kq7FrLafVrdDVS668Ftpw/tFAsJovdcvZX/KEZizcK6QapmiIuQo+5FAo/KqH 9S9CV7MBBwT92TQu7WntNyduWHhVwcarLkXZ1yKuoF1iraOYpS6J2KZjMbzasoJ/WyVR tyDOqT98SrQZjdnk/UhUWGpcoJa2nJ6XPDG63Txc45QVqGvTYd+uusXoCMmUtIFPEZ+w L7LQ== X-Gm-Message-State: ALoCoQmHa15zT3muM9iYmsVrZGiKablCE5ctbhd95AAsfx15Vs19LbclgDKiHWrHU6WkGPvkXNqc 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 (-) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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; } }