From patchwork Thu Sep 14 14:38:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 9953221 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CCB52602C9 for ; Thu, 14 Sep 2017 14:38:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB59029134 for ; Thu, 14 Sep 2017 14:38:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A01AA29141; Thu, 14 Sep 2017 14:38:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 007A42913B for ; Thu, 14 Sep 2017 14:38:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751265AbdINOi2 (ORCPT ); Thu, 14 Sep 2017 10:38:28 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:56966 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbdINOi1 (ORCPT ); Thu, 14 Sep 2017 10:38:27 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20170914143826euoutp010e0106885de8a12ad79184f7228314da~kQT0ZTm2p2907629076euoutp01i; Thu, 14 Sep 2017 14:38:26 +0000 (GMT) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170914143825eucas1p1b8d5675d34b093707acbea8c9f928e16~kQTzawRlF2365023650eucas1p1n; Thu, 14 Sep 2017 14:38:25 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges5.samsung.com (EUCPMTA) with SMTP id 37.BA.12743.0649AB95; Thu, 14 Sep 2017 15:38:24 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170914143824eucas1p1e811c6c4c32a2253aebad9a27d4182d5~kQTynbJRx2860128601eucas1p1H; Thu, 14 Sep 2017 14:38:24 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d0000031c7-00-59ba94608828 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 63.93.20118.0649AB95; Thu, 14 Sep 2017 15:38:24 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OW900ID2XZWJ420@eusync1.samsung.com>; Thu, 14 Sep 2017 15:38:24 +0100 (BST) From: Marek Szyprowski To: linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] clk: samsung: Properly propagate flags in __PLL macro Date: Thu, 14 Sep 2017 16:38:17 +0200 Message-id: <1505399897-4840-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGIsWRmVeSWpSXmKPExsWy7djPc7oJU3ZFGvxrN7LYOGM9q8X1L89Z Lc6f38Bu8bHnHqvFjPP7mCzWHrnLbnH4TTurA7vHplWdbB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CVcXx3E1PBD9aKp+vWsTQwXmXpYuTgkBAw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Hbs55YdjF3vgg8xCnAwKvHwPrDcGSnEmlhWXJl7iFGCg1lJhNd14q5IId6U xMqq1KL8+KLSnNTiQ4zSHCxK4ry9e1ZHCgmkJ5akZqemFqQWwWSZODilGhgFThw/su0m064J x5T0cqfu1vx+sWJz6kG/ynrdN2JLCx77cR7c+PiHSmNX46v7qUcCA7hL15/zDm4oO7U+fGqA gtjnvskrXbvicnY/PN76f/ulQzu/1ElYZW/+ZV3n0Rl+0vL1qoV5p/lE+g0suXwqLEV53Hez NFzwzkhlDRVdvL5q2hq1qb+VWIozEg21mIuKEwFyCp6oBAIAAA== X-CMS-MailID: 20170914143824eucas1p1e811c6c4c32a2253aebad9a27d4182d5 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-CMS-RootMailID: 20170914143824eucas1p1e811c6c4c32a2253aebad9a27d4182d5 X-RootMTR: 20170914143824eucas1p1e811c6c4c32a2253aebad9a27d4182d5 References: Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP All users of __PLL macro already provide flags parameter, so don't overwrite it unconditionally with CLK_GET_RATE_NOCACHE. Signed-off-by: Marek Szyprowski --- drivers/clk/samsung/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk.h b/drivers/clk/samsung/clk.h index b8ca0dd3a38b..d5f0d3f818b6 100644 --- a/drivers/clk/samsung/clk.h +++ b/drivers/clk/samsung/clk.h @@ -305,7 +305,7 @@ struct samsung_pll_clock { .dev_name = _dname, \ .name = _name, \ .parent_name = _pname, \ - .flags = CLK_GET_RATE_NOCACHE, \ + .flags = _flags, \ .con_offset = _con, \ .lock_offset = _lock, \ .rate_table = _rtable, \