From patchwork Fri Sep 19 09:00:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 37637 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4F5B720293 for ; Fri, 19 Sep 2014 09:00:43 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id cc10sf903735wib.10 for ; Fri, 19 Sep 2014 02:00:42 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=0C68+GT2GXW8nAYf2+hoyHYFO+wyKlNcMcoAxjpOoeM=; b=I8pNMUgkHgBvTbxAPe3YrS26mEtYvTzE+2cMPjsCM2jbrfTyAHYactM3dIzmtijE66 gg9USzrqwBlNP4OHQCz79ZfAopB+EXY1SEgnu6QS2aonAkkIZXgnLFsR//+QUiafVNT2 9hFAfD8SBkcLZMTjd30byp1obzeJjNuDl+IrHbX0RgapQQUEr8ucof9OYyxQy1tygOQl VYk39q2XhDCpJPv0XVSasS0R3Qx26yAhXe25xgUrsH+NC2YN8AQ3GXSFmjHYTRCtIEom 4IoslNxVrhMqcNdFVfOjVOW+ucLzYHbkdug53sGK53Gh9/+1kd/og8ibmH+VeN3jAdGX EKAQ== X-Gm-Message-State: ALoCoQnLSqqSTGvB0fQEnfkCqHDMuYJqrlmf1C2sNhetvZSrorClbF9RF/NKIDT5V+pezoUH8e6k X-Received: by 10.112.131.33 with SMTP id oj1mr1679119lbb.7.1411117242458; Fri, 19 Sep 2014 02:00:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.134 with SMTP id b6ls278240laa.77.gmail; Fri, 19 Sep 2014 02:00:42 -0700 (PDT) X-Received: by 10.112.56.206 with SMTP id c14mr5033261lbq.27.1411117241108; Fri, 19 Sep 2014 02:00:41 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx.google.com with ESMTPS id bd14si1571308lab.125.2014.09.19.02.00.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Sep 2014 02:00:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id z11so2777738lbi.12 for ; Fri, 19 Sep 2014 02:00:41 -0700 (PDT) X-Received: by 10.112.200.134 with SMTP id js6mr5157095lbc.0.1411117240999; Fri, 19 Sep 2014 02:00:40 -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.130.169 with SMTP id of9csp896443lbb; Fri, 19 Sep 2014 02:00:40 -0700 (PDT) X-Received: by 10.70.124.133 with SMTP id mi5mr15405105pdb.118.1411117239462; Fri, 19 Sep 2014 02:00:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kq4si1907224pbc.97.2014.09.19.02.00.38 for ; Fri, 19 Sep 2014 02:00:39 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755013AbaISJAh (ORCPT + 6 others); Fri, 19 Sep 2014 05:00:37 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:25605 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954AbaISJAg (ORCPT ); Fri, 19 Sep 2014 05:00:36 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NC500M9F55LD7A0@mailout4.w1.samsung.com>; Fri, 19 Sep 2014 10:03:21 +0100 (BST) X-AuditID: cbfec7f4-b7f156d0000063c7-fb-541bf0b13e93 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 96.DC.25543.1B0FB145; Fri, 19 Sep 2014 10:00:33 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NC5002G050RC000@eusync2.samsung.com>; Fri, 19 Sep 2014 10:00:33 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Tomasz Figa , Mike Turquette Subject: [PATCH] clk: s5pv210: add missing call to samsung_clk_of_add_provider() Date: Fri, 19 Sep 2014 11:00:16 +0200 Message-id: <1411117216-11456-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMJMWRmVeSWpSXmKPExsVy+t/xK7obP0iHGLz7wGNxedccNosZ5/cx Waw9cpfd4umEi2wWh9+0s1qs2vWH0YHNY+esu+wed67tYfPo27KK0ePzJrkAligum5TUnMyy 1CJ9uwSujGUThQrWc1X823iItYHxCkcXIyeHhICJxN6ld9khbDGJC/fWs4HYQgJLGSXOvNDq YuQCsvuYJL4sucUKkmATMJToetsFViQi4CzRMLWRCaSIWWAto8TF+b+ZQBLCAgESl7ZNAWtg EVCVmH2okxnE5hXwkFg9dRITxDY5if8vVzBNYORewMiwilE0tTS5oDgpPddQrzgxt7g0L10v OT93EyMkIL7sYFx8zOoQowAHoxIP74dk6RAh1sSy4srcQ4wSHMxKIrwej4BCvCmJlVWpRfnx RaU5qcWHGJk4OKUaGDvKApsm2f+NYlN8UztnYVDJnZvXmnZHOH22XnuOe/P+sCWL3OPNmBJu fUlTnL7ZSvt35p2YzkNrD0hxLjvtvMpYk60vLTWoZKfvmR3P9D7z7Jqcf7/m5vIv5+xXxUo8 eJmkvfOG2KOv029ss/IM4DkWGNuzgL1td8nr+hijTwfcNzRyp+1bvlyJpTgj0VCLuag4EQCC Ad8r5gEAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m.szyprowski@samsung.com 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.181 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: , List-Help: , List-Archive: List-Unsubscribe: , Commit d5e136a21b2028fb1f45143ea7112d5869bfc6c7 ("clk: samsung: Register clk provider only after registering its all clocks", merged to v3.17-rc1) modified a way that driver registers registers to core framework. This change has not been applied to s5pv210 clocks driver, which has been merged in parallel to that commit. This patch adds a missing call to samsung_clk_of_add_provider(), so the driver is operational again. Signed-off-by: Marek Szyprowski Acked-by: Tomasz Figa --- Hello! This is an important fix to v3.17-rcX. Without it support for Samsung S5PV210 SoCs is not functional. Mike, could you take it to the fixes branch? Best regards Marek Szyprowski, PhD Samsung R&D Institute Poland --- drivers/clk/samsung/clk-s5pv210.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/samsung/clk-s5pv210.c b/drivers/clk/samsung/clk-s5pv210.c index d270a20..f41b017 100644 --- a/drivers/clk/samsung/clk-s5pv210.c +++ b/drivers/clk/samsung/clk-s5pv210.c @@ -828,6 +828,8 @@ static void __init __s5pv210_clk_init(struct device_node *np, s5pv210_clk_sleep_init(); + samsung_clk_of_add_provider(np, ctx); + pr_info("%s clocks: mout_apll = %ld, mout_mpll = %ld\n" "\tmout_epll = %ld, mout_vpll = %ld\n", is_s5p6442 ? "S5P6442" : "S5PV210",