mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Billy Tsai <billy_tsai@aspeedtech.com>
To: Ryan Chen <ryan_chen@aspeedtech.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Joel Stanley <joel@jms.id.au>,
	Andrew Jeffery <andrew@aj.id.au>,
	"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] clk:aspeed:Fix reset driver probe from builtin_platform to core_initcal
Date: Mon, 13 Dec 2021 01:49:38 +0000	[thread overview]
Message-ID: <E9DFB26F-F183-47D9-BE4E-6F739337F8CA@aspeedtech.com> (raw)
In-Reply-To: <20211005064513.27655-1-ryan_chen@aspeedtech.com>

On 2021/10/5, 2:45 PM, "Ryan Chen" <ryan_chen@aspeedtech.com> wrote:

    >   Change the reset probe sequence from builtin_platform to core_initcal.
    >   For avoid some driver is probe but failed due to reset driver not probe.

    >   Fixes: d3d04f6c330a ("clk: Add support for AST2600 SoC")
    >   Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>

Reviewed-by: Billy Tsai <billy_tsai@aspeedtech.com>

    >   ---
    >    drivers/clk/clk-ast2600.c | 8 +++++++-
    >    1 file changed, 7 insertions(+), 1 deletion(-)
     
    >   diff --git a/drivers/clk/clk-ast2600.c b/drivers/clk/clk-ast2600.c
    >   index 085d0a18b2b6..6293d8d1a6a8 100644
    >   --- a/drivers/clk/clk-ast2600.c
    >   +++ b/drivers/clk/clk-ast2600.c
    >   @@ -686,7 +686,13 @@ static struct platform_driver aspeed_g6_clk_driver = {
    >    		.suppress_bind_attrs = true,
    >    	},
    >    };
    >   -builtin_platform_driver(aspeed_g6_clk_driver);
    >   +
    >   +static int __init aspeed_g6_clk_init(void)
    >   +{
    >   +	return platform_driver_register(&aspeed_g6_clk_driver);
    >   +}
    >   +
    >   +core_initcall(aspeed_g6_clk_init);
      
    >    static const u32 ast2600_a0_axi_ahb_div_table[] = {
    >    	2, 2, 3, 5,
    >   -- 
    >   2.17.1




      parent reply	other threads:[~2021-12-13  1:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05  6:45 Ryan Chen
2021-10-17  1:45 ` Stephen Boyd
2021-10-18  0:54   ` Ryan Chen
2021-12-13  1:49 ` Billy Tsai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E9DFB26F-F183-47D9-BE4E-6F739337F8CA@aspeedtech.com \
    --to=billy_tsai@aspeedtech.com \
    --cc=andrew@aj.id.au \
    --cc=joel@jms.id.au \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=ryan_chen@aspeedtech.com \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®