lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 13 Dec 2021 01:49:38 +0000
From:   Billy Tsai <billy_tsai@...eedtech.com>
To:     Ryan Chen <ryan_chen@...eedtech.com>,
        Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd <sboyd@...nel.org>, Joel Stanley <joel@....id.au>,
        Andrew Jeffery <andrew@...id.au>,
        "linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] clk:aspeed:Fix reset driver probe from builtin_platform
 to core_initcal

On 2021/10/5, 2:45 PM, "Ryan Chen" <ryan_chen@...eedtech.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@...eedtech.com>

Reviewed-by: Billy Tsai <billy_tsai@...eedtech.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



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ