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: 4936691 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2A440BEEA5 for ; Fri, 19 Sep 2014 09:00:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D24B201E4 for ; Fri, 19 Sep 2014 09:00:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 79A072010F for ; Fri, 19 Sep 2014 09:00:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755013AbaISJAh (ORCPT ); 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: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 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",