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] [thread-next>] [day] [month] [year] [list]
Message-ID: <64441b77-1d99-44ec-d4b1-c18f1c75d523@baylibre.com>
Date:   Wed, 26 Jun 2019 10:22:29 +0200
From:   Neil Armstrong <narmstrong@...libre.com>
To:     Stephen Boyd <sboyd@...nel.org>, jbrunet@...libre.com,
        khilman@...libre.com
Cc:     linux-arm-kernel@...ts.infradead.org,
        linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org,
        linux-clk@...r.kernel.org, martin.blumenstingl@...glemail.com
Subject: Re: [RFC/RFT 02/14] clk: core: introduce clk_hw_set_parent()

On 25/06/2019 22:32, Stephen Boyd wrote:
> Quoting Neil Armstrong (2019-06-20 08:00:01)
>> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
>> index aa51756fd4d6..3e98f7dec626 100644
>> --- a/drivers/clk/clk.c
>> +++ b/drivers/clk/clk.c
>> @@ -2490,6 +2490,11 @@ static int clk_core_set_parent_nolock(struct clk_core *core,
>>         return ret;
>>  }
>>  
>> +int clk_hw_set_parent(struct clk_hw *hw, struct clk_hw *parent)
>> +{
>> +       return clk_core_set_parent_nolock(hw->core, parent->core);
>> +}
> 
> Will this be used from a module? Maybe it needs an EXPORT_SYMBOL_GPL().

Probably since it's in clk-provider.h

Will add.

> 
>> +
>>  /**
>>   * clk_set_parent - switch the parent of a mux clk
>>   * @clk: the mux clk whose input we are switching

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ