From patchwork Sun Jul 14 21:57:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 11043297 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DB47746 for ; Sun, 14 Jul 2019 21:57:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D88126D05 for ; Sun, 14 Jul 2019 21:57:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01D82271FD; Sun, 14 Jul 2019 21:57:31 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 B64DE26D05 for ; Sun, 14 Jul 2019 21:57:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728741AbfGNV5a (ORCPT ); Sun, 14 Jul 2019 17:57:30 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:49526 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728719AbfGNV5a (ORCPT ); Sun, 14 Jul 2019 17:57:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1563141447; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=dPOm8I730gA/0sINnA0L6oohypk1gj9aTrJkuB11/84=; b=nS5j/U1Pdw4Qlbv6XPY5FD4tctE2+SBQ1gAR1urnVp7eYcISwPFqK/b6OSr+c2NTPShYE5 Ddo73wZm2Xc3EMsjt4vFrIy/KwTWxcXDm9myCFUxpfd7HX4oYWdMeODpqNNho70DoSnEUp Am+DoF31Wh8jnmqe4+zy6nsOJ9iMX+0= From: Paul Cercueil To: Michael Turquette , Stephen Boyd Cc: od@zcrc.me, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH] clk: ingenic: Remove OF_POPULATED flag to probe children Date: Sun, 14 Jul 2019 17:57:15 -0400 Message-Id: <20190714215715.11412-1-paul@crapouillou.net> MIME-Version: 1.0 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 Remove the OF_POPULATED flag, in order to probe children when the device node is compatible with "simple-mfd". Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/cgu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic/cgu.c index 6e963031cd87..bf2a86cf1dbf 100644 --- a/drivers/clk/ingenic/cgu.c +++ b/drivers/clk/ingenic/cgu.c @@ -759,6 +759,12 @@ ingenic_cgu_new(const struct ingenic_cgu_clk_info *clock_info, spin_lock_init(&cgu->lock); + /* + * Remove the OF_POPULATED flag, in order to probe children when the + * device node is compatible with "simple-mfd". + */ + of_node_clear_flag(np, OF_POPULATED); + return cgu; err_out_free: