Message ID | 1435068567-30995-6-git-send-email-gabriel.fernandez@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBD2L3EU6QELBB36SUWWAKGQENGPB74A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2398D216E1 for <linaro@patches.linaro.org>; Tue, 23 Jun 2015 14:13:04 +0000 (UTC) Received: by wgbhy7 with SMTP id hy7sf3282048wgb.3 for <linaro@patches.linaro.org>; Tue, 23 Jun 2015 07:13:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=aH2s8Pd52htviW0m3ywk5QW7ZctOJTjoL90SG2WJtxs=; b=ZnOoqvd1ugT/Dd4ESyVM1WMqP3CYqbUN8Oab8JC0i3bYyMo735hNl+/BtE9asI7guG fT38oV6HHoXFLCQTE1dPZMVpJcMNFWeKue1AhZQhDNzt5bf7lcpAydjGblLkfwdsiGq9 o2EfRbYOCyJGKj+7giyzhQ3oZkeaseijgik3ZFTkSio34l4mGavVlbKS3yegdbCEQwdG WZXudUVre6fxuHW/9ag1lVh6ICJMJvR8cPX9dhD6y6ioMMqrOKMX+Ud798Vuxa6xkeed RrdmdoWYsl172/sO1zf/C6Er13bTgMbt7B7bvH3FmD+zJPyaaOjpO7bq+tOb6KBv1oZy EZPw== X-Gm-Message-State: ALoCoQk+0IvgQp0YZrCaaZL1Ut+xcWnqxh+ZUZ6p5Y80H251htraKTeSiC6SGcT7hqQwKr/Bf1/R X-Received: by 10.180.216.12 with SMTP id om12mr1492317wic.1.1435068783454; Tue, 23 Jun 2015 07:13:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.161 with SMTP id jp1ls50446lab.96.gmail; Tue, 23 Jun 2015 07:13:03 -0700 (PDT) X-Received: by 10.152.18.163 with SMTP id x3mr35206261lad.70.1435068783282; Tue, 23 Jun 2015 07:13:03 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id xj4si19411835lbb.112.2015.06.23.07.13.03 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 07:13:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbnk3 with SMTP id k3so7578862lbn.1 for <patchwork-forward@linaro.org>; Tue, 23 Jun 2015 07:13:03 -0700 (PDT) X-Received: by 10.112.198.74 with SMTP id ja10mr35424595lbc.19.1435068783166; Tue, 23 Jun 2015 07:13:03 -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.112.108.230 with SMTP id hn6csp3104765lbb; Tue, 23 Jun 2015 07:13:01 -0700 (PDT) X-Received: by 10.68.239.70 with SMTP id vq6mr69484628pbc.157.1435068781686; Tue, 23 Jun 2015 07:13:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ml1si34926762pab.24.2015.06.23.07.13.00; Tue, 23 Jun 2015 07:13:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933363AbbFWOMz (ORCPT <rfc822;fu.wei@linaro.org> + 7 others); Tue, 23 Jun 2015 10:12:55 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:35364 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933289AbbFWOKV (ORCPT <rfc822; devicetree@vger.kernel.org>); Tue, 23 Jun 2015 10:10:21 -0400 Received: by wgbhy7 with SMTP id hy7so10806160wgb.2 for <devicetree@vger.kernel.org>; Tue, 23 Jun 2015 07:10:19 -0700 (PDT) X-Received: by 10.194.97.196 with SMTP id ec4mr8694174wjb.3.1435068618925; Tue, 23 Jun 2015 07:10:18 -0700 (PDT) Received: from lmenx315.lme.st.com (LPuteaux-656-1-48-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPSA id lk5sm22556790wic.24.2015.06.23.07.10.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 07:10:18 -0700 (PDT) From: Gabriel Fernandez <gabriel.fernandez@linaro.org> To: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Srinivas Kandagatla <srinivas.kandagatla@gmail.com>, Maxime Coquelin <maxime.coquelin@st.com>, Patrice Chotard <patrice.chotard@st.com>, Russell King <linux@arm.linux.org.uk>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@codeaurora.org>, Gabriel Fernandez <gabriel.fernandez@linaro.org>, Peter Griffin <peter.griffin@linaro.org>, Pankaj Dev <pankaj.dev@st.com>, Olivier Bideau <olivier.bideau@st.com>, Javier Martinez Canillas <javier.martinez@collabora.co.uk>, Geert Uytterhoeven <geert+renesas@glider.be>, Fabian Frederick <fabf@skynet.be> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@stlinux.com, linux-clk@vger.kernel.org Subject: [PATCH 5/9] drivers: clk: st: Fix flexgen lock init Date: Tue, 23 Jun 2015 16:09:23 +0200 Message-Id: <1435068567-30995-6-git-send-email-gabriel.fernandez@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435068567-30995-1-git-send-email-gabriel.fernandez@linaro.org> References: <1435068567-30995-1-git-send-email-gabriel.fernandez@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: gabriel.fernandez@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) 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 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/clk/st/clk-flexgen.c b/drivers/clk/st/clk-flexgen.c index 657ca14..be06d2a 100644 --- a/drivers/clk/st/clk-flexgen.c +++ b/drivers/clk/st/clk-flexgen.c @@ -303,6 +303,8 @@ static void __init st_of_flexgen_setup(struct device_node *np) if (!rlock) goto err; + spin_lock_init(rlock); + for (i = 0; i < clk_data->clk_num; i++) { struct clk *clk; const char *clk_name;