Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3523013imm; Tue, 17 Jul 2018 06:18:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdzI45rJDUgloOTKVGscBVJjLxYEpAHN7KE4NQ0tYjAo0ZoCjarUb9z2VbOFgHu8d+aN1L0 X-Received: by 2002:a63:790b:: with SMTP id u11-v6mr1563970pgc.111.1531833507352; Tue, 17 Jul 2018 06:18:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531833507; cv=none; d=google.com; s=arc-20160816; b=aJ+Q9EUccpUyBxkGISGlFy5F0cRnw3fqRDx/TPZBl2qCS0Vc8PyftFW23K3JjTN+zO sv5lL5HISavycLwuypURNqopaKqy7YkWsUAx9GCZ/E0cIMWWRjsJmMKAiEvyAdccWw0s TitrYjrLEA3nqvfh1TDadwZUD0OHleEGUwnQ5Yg+OdtLjPrVowY4+68iyVuIJCB/TyoX 4+IWKCAhSDlvaPT0h2Pfp+Dvl8ELm+7IQ4IdiM68Pj3Eev0w0CcA+OXRdm9uNinifYit 9j/BocDCRGYuAuv1f2MHX3vIW2oMRihzoE46rxqXoviS7gLYExUx224UklFSD8WO3dhd JwpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=iGjnRQ922KKe6zhi6gaEboGcRloHWDA5eCq8uObjM0k=; b=XX4JPzSql2TwLaGlV2MHO6j5EGnbb2L/Q+lYRTQYk46b/t9ggJiy7/GvpYy3V0+JZn E4lL8ybdprPubftbZ8W2LJaADUqAJr6lGUzLsKSjFIdFvhE2tzD2e4cCJ3FhtWLcaPZh Ky3ks3Dz/uL9oOAJIT30nOVOfKZBXpevQBfbBl4DuNHB9Y7N2zpElOmtij9BG4hSdcBl d9Xq7cFGPkFtRlO0linfy8J7CkUOjGXKaT7ASFmj/5bayeVVLhkKKrtBIflwklrrNAcN YG24qjDp0mwU96/LF6kdtD1jucmrKG1kkjsaHxDT0zB/d7AgF/u860JbJFr3S4/3pM9o OuwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b="lW8b9Q/b"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7-v6si840722ple.435.2018.07.17.06.18.11; Tue, 17 Jul 2018 06:18:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b="lW8b9Q/b"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731573AbeGQNuO (ORCPT + 99 others); Tue, 17 Jul 2018 09:50:14 -0400 Received: from mail-eopbgr730040.outbound.protection.outlook.com ([40.107.73.40]:55470 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731371AbeGQNuO (ORCPT ); Tue, 17 Jul 2018 09:50:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iGjnRQ922KKe6zhi6gaEboGcRloHWDA5eCq8uObjM0k=; b=lW8b9Q/bcp5bhc6oh89ewmKaYMyhJo6n+jRJKp5BGxIIirZxQD4j/TRviESchEFcS6WSSDxfjiZRL3RTObXQd/qmAQwX2fEPZpUncbdL7NUNstXIwkC37vbfUX2f2+fHbxtjFmM9tNJYuUFwE8Ms9i7rVX6zGTPY65GjazOeZqM= Received: from CY4PR02CA0043.namprd02.prod.outlook.com (2603:10b6:903:117::29) by BLUPR02MB081.namprd02.prod.outlook.com (2a01:111:e400:811::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.952.18; Tue, 17 Jul 2018 13:17:32 +0000 Received: from CY1NAM02FT017.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::200) by CY4PR02CA0043.outlook.office365.com (2603:10b6:903:117::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.973.16 via Frontend Transport; Tue, 17 Jul 2018 13:17:31 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT017.mail.protection.outlook.com (10.152.75.181) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.952.17 via Frontend Transport; Tue, 17 Jul 2018 13:17:30 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1ffPr8-0007XU-5v; Tue, 17 Jul 2018 06:17:30 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1ffPr3-0002GN-2X; Tue, 17 Jul 2018 06:17:25 -0700 Received: from xsj-pvapsmtp01 (smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w6HDHME6026446; Tue, 17 Jul 2018 06:17:23 -0700 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1ffPr0-0002Fd-Qp; Tue, 17 Jul 2018 06:17:22 -0700 From: Rajan Vaja To: , CC: , , Rajan Vaja Subject: [PATCH] clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure Date: Tue, 17 Jul 2018 06:17:00 -0700 Message-ID: <1531833420-27175-1-git-send-email-rajan.vaja@xilinx.com> X-Mailer: git-send-email 2.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(346002)(39860400002)(396003)(136003)(376002)(2980300002)(438002)(199004)(189003)(81156014)(8676002)(486006)(9786002)(8746002)(5660300001)(50226002)(4326008)(50466002)(63266004)(8936002)(81166006)(107886003)(48376002)(6666003)(106466001)(26005)(2906002)(47776003)(36756003)(7696005)(51416003)(478600001)(186003)(72206003)(36386004)(426003)(2616005)(126002)(336012)(5024004)(476003)(44832011)(77096007)(316002)(54906003)(106002)(1857600001)(356003)(14444005)(305945005)(110136005)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR02MB081;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT017;1:WO9PzpkUk2umEWt7z3fqIeyFMcjgws6gHggni4lRyOfMLzS/3PqJoFR0trahfKY5ZD9bnbiGwV5RF/+TmdNjJEDbyFgTGID5VFLJmUEfgdfSrzSxgTo/q6Nxg6sZKZ9U MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 70b1f36c-4ac4-4389-50b4-08d5ebe7a6cf X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060);SRVR:BLUPR02MB081; X-Microsoft-Exchange-Diagnostics: 1;BLUPR02MB081;3:XJu6POJNX9XbMGeJoNmAF9mKkG/Z1aLJCARy9lu9kri5H+eg898diG4TevYGSXYNViuqNOmZnblRbXG1fTIxjIahg8z0MN2ZZ5/HKcxE9Nh53W2EtaPvCNelUApF1++ihV9wOgTSx4Q7w/8ymYTMQw/zT008oL5fa63PHDFIE3CGlxUz6/krnwGDhH4hs2sGN1CixSbjI9dzCjacIAaWZSqS4xYpn87Z7+po58jjMtC1r3L0OPxRnjprFJMqXW8mZupDGVJY0TNAdQcp74ZDy0k+2wTRJwvGweII+wUJzMQEtMsvQN9616Ed7d14cPsfkbTLjQbIsI92lU2z6Gux56wdsHCd6OQtvEd4YUMwA7A=;25:cSyZdvi8XrxE4eNOuBlHrZv/FfMcIhV5efYax89gOEi7rCAsOx0/oP59SCK6HgOSC3IKIyV51hRscRC/xrpiD/SXqhXkOCDUBiQLgqU4/XXtQAD/F878h/2pmEBW21KbF3f5+HQKSGNspVJ72SZLLDjG49HLWxMFJU+Oj5DjKpMJOawT+BqftuiQFmo45j/tyHgjz3DScBei2oH8b/mDISNsAZ9Y2UK1+jFdAnqIthb8e3EZQ+aD5aWFUwRvxZa9LqTihAW+nXvVmY2PTkN6VwbE/KbC9A+7Kvg31d2bX5HZaka4psLHsFeqvgzioDMQSlfxOVUds2hvZdZhEbpGfw== X-MS-TrafficTypeDiagnostic: BLUPR02MB081: X-Microsoft-Exchange-Diagnostics: 1;BLUPR02MB081;31:EBY72TC+FYvzObI6uLwi2rSYen3+ZoapZeiJ3y+5R8/bziU13OaBKvFhG8hn8PWvdjIOhwh6UX+ya0ecM/0eq98RVzpwc/az5P37TmRp7nWUKrz2QpQMaIelCDdArzcBepOwC6ewo6tZfUISCKGiJKQJ3to0sQNmAi2WB5J1pd9/nVwyCsbR5KYJ7+iOlz63wQeavT9cCBtKW0UnS4jCbSbh6x9kHbtL5/o/NZpxl+0=;20:cPyanS8w7yVNySimuz4ctsKVVQsxuJlpMLksAOdUuKrG3MaegIcXTxL7qHIzvgiImJ045PgT4WhzvL9ojL0nfz5yfA4HxSXeVm3gcIwlHZpwi41Z6giKap3b2lk/bivbrfF7g0kn6V51cLRJcYQuLdGyaG4Sh149vjwwvr0F86rgTK6zYh+fwB4kCLBUfG9QdlR/F9T6eOt6QLt2DV/QCNiVkl+StpTJhxjN05e2/YZrlKRuJnXKt0MJ3CP+LStndZEHZ0xrsWx79BRwYRLbU0m8vHmtq/X7geCxBulqFwQjwvVukOu9XWkKNJMfQaVUy7nF7TJK8x2MAYDI7B8psTBAdm6MMJBbQsGhzPTl6+y2U8WCBl+OU8ISrSwMEuj4kj/c2nQ6zHwszKkiNUxaxZmKdIWOLWGaP0bQZeA2PQ2nPLvIShnBnnMEh2mnPSWxcsUv1Gb1HxICb9XnGWToLee+YaPCGMqa8RiZOzGIFhHqZJ+4upGC8djWqjUK46Yi Content-Transfer-Encoding: quoted-printable X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(223705240517415)(192813158149592); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93004095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:BLUPR02MB081;BCL:0;PCL:0;RULEID:;SRVR:BLUPR02MB081; X-Microsoft-Exchange-Diagnostics: 1;BLUPR02MB081;4:ZDScYJRHrA+VDNL/3mLK3iEVzUOapZu30oYQ6DMVrZKuXHkIMuXdlnLtNVBeG77BHJJ2Oj733KKNHlfUePVGtwyRCY8UvkP7+PgnUSkdzs0b5WxvfpGuNzKZrBEr/fnIVABO4HdUAEb+CwAjiEzYI+cu4ffICwKDu3TiclBx9eOSOK0tOkU+K9u3XRV2OQU0tqxm91/5eQW0i6DM3jHyWf5oWMvdsiBpJ8S8Q+6SiqKibUadst+WYQkZkeIIY5EXSXjHpHMRG9TA39IIXI4TkW9ePHaiwvveyY0UZlfKQqCv+7QtAkmk/uZ0ZFLKwnVuCfJAdY9J9NlpZIu6BCeQK58CtUbxaihkXChhiGp2C0I= X-Forefront-PRVS: 073631BD3D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR02MB081;23:LDj9xyG5Q03zPfjc3Z7gX0ZsmDnuNtGxP1OHSeY7NU?= =?us-ascii?Q?aHze5H0TcO3NEf/JpgR9MhvfufTC5Iia/5m0lnKmpkKpBlDuUFGHFyDpNkZn?= =?us-ascii?Q?dxFxxXve3Ubd0FM8yLyFXBpJYI1F/+gwCLOp1HgOiJiLhhQx5WwVv6KnDx+3?= =?us-ascii?Q?yC1qaEc79giYnY7gsRciXublvp2gTkt09AbUOB0TGhv9waYcoFrdTJ9PFG6i?= =?us-ascii?Q?0fm7EKk+UDFgx6x917uLgTawT11go4ajFCnZlAHyhC3haYvelBuT9b+Bp6Ba?= =?us-ascii?Q?qO3lO+A+9vccY5VDgS70E92khP27nMTVvEAZxP+wtz+sCVdbmWB/xWDE408i?= =?us-ascii?Q?pDyFEmoBcvZvGVyuHC1wUe5wrH25zEiFfHqxGH1uJ3G3If2+9p0ROqaL5DhK?= =?us-ascii?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amDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR02MB081;7:Om3j4n9zbUIMX4enKu7WarUw0JWZC8gwcTWt1pm78cK1M8h539a0oewqAsPT3KM66Eg2W3JtN1i7VkqQmWarmaq9yWFG/Krc7g10MkwSZYUWVv+fAJso1miWDxY/Ts1x4g25MdDvp0QXHM2ATddqVSZ2++nFeFwKUliih1HQz4yyXJ2jOJK8q8LO+YO+ftRF1VqlT6u/YNxKojugWp1AnVsy2HtF1dtxVVaifNltwk9T02Gw+/FDxad0Q+wUOXLf X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2018 13:17:30.8557 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 70b1f36c-4ac4-4389-50b4-08d5ebe7a6cf X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR02MB081 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed factor clock has two initializations at of_clk_init() time and during platform driver probe. Before of_clk_init() call, node is marked as populated and so its probe never gets called. During of_clk_init() fixed factor clock registration may fail if any of its parent clock is not registered. In this case, it doesn't get chance to retry registration from probe. Clear OF_POPULATED flag if fixed factor clock registration fails so that clock registration is attempted again from probe. Signed-off-by: Rajan Vaja --- drivers/clk/clk-fixed-factor.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.= c index d72ef2d..f3ae4ff 100644 --- a/drivers/clk/clk-fixed-factor.c +++ b/drivers/clk/clk-fixed-factor.c @@ -177,8 +177,15 @@ static struct clk *_of_fixed_factor_clk_setup(struct d= evice_node *node) clk =3D clk_register_fixed_factor(NULL, clk_name, parent_name, flag= s, mult, div); - if (IS_ERR(clk)) + if (IS_ERR(clk)) { + /* + * If parent clock is not registered, registration would fa= il. + * Clear OF_POPULATED flag so that clock registration can b= e + * attempted again from probe function. + */ + of_node_clear_flag(node, OF_POPULATED); return clk; + } ret =3D of_clk_add_provider(node, of_clk_src_simple_get, clk); if (ret) { -- 2.7.4 This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.