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: 112560 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp817017qgf; Thu, 14 Sep 2017 07:38:29 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6RtoajlwAzB6LuEBeYlVkiKflaEGe2tPCJaiWIWp2YIVNl15VG3LuSlVT8Cel8gF9zufqj X-Received: by 10.101.73.4 with SMTP id p4mr21200329pgs.215.1505399909616; Thu, 14 Sep 2017 07:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505399909; cv=none; d=google.com; s=arc-20160816; b=ozosE+DeUIdwa+piA6JF5KvRszvE7ph0oOgP8gb3sW4yQQzY9qeXvSsePxuhnu8kmz zh5A+QC0guwSjFSTltf4Z1ZsQZyIRJYnBIR9IrMsq31CGdP42CPCqT5eFgjFlVvh3L8W E9knubooJ+TEv5bMxCKrsASeUtycsVn2b/nBqBjoVei72yOBVHlRM9+TI0vDR1bs2ABn G0xbKTzmJJ5wOGtY/8DrNF0frGLhKTigyDxTJR7EYYCdH1nPhDlakmRbONTwyEB+Lu5F qA9jQ1ahuCIgYvyP8nH1qKpZZWSIL4cxUGYzOYAy6VYmzBbiQDfVWyug7vwq7fjIGjZY OyBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:arc-authentication-results; bh=i0BOyw9TOE24oHQLgYzfvit5aOIw8W4IzuoVAVhX44c=; b=lCZjzCMOkwBX9Dpw9M9AlgfiAsoxsIQSQWxaxwVDrSfnzRBBYvWWsDAsX406L2rxwz Y8+iM+vhdkJseSOFBY0XBghMZ4SbRdFjaMqzt/Q1MkbVAD9FMw7NMub6XulWgbSna95F efI7FV0mckxX2mrcD4vWcVViGRexfP3dxlLkpBQmwGRiQOK3wJj0cpm7vhMxZnVRTQm7 Upjm+vGgUjZkMCnVgUJR/F1dmc2rF/hO00g8Qfpr1d4WfkLUj0TjOrA1RbeeLQUsW6zi ImY6Ma6aC4I9tdcKlcTbx0svZB5PDzJt3XvWVxnsSF8yx2OF2w1Lwp0Xo2Zj8/87LXoM 2Mxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t89si4751488pfk.382.2017.09.14.07.38.29; Thu, 14 Sep 2017 07:38:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751323AbdINOi2 (ORCPT + 4 others); 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+vWsTQwX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3k/NxNjMCA2Hbs55YdjF3vgg8xCnAwKvHwPrDcGSnEmlhWXJl7iFGCg1lJhNd14q5IId6U 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?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20170914143824eucas1p1e811c6c4c32a2253aebad9a27d4182d5 X-RootMTR: 20170914143824eucas1p1e811c6c4c32a2253aebad9a27d4182d5 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Chanwoo Choi 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, \