On 2020/11/10 1:54, Markus Elfring wrote:
> …
>> +++ b/drivers/clk/hisilicon/clk-hi3620.c
> …
>> @@ -478,6 +478,10 @@ static void __init hi3620_mmc_clk_init(struct
>> device_node *node)
>>
>> clk_data->clk_num = num;
>> of_clk_add_provider(node, of_clk_src_onecell_get, clk_data);
>> +
add Markus
On 2020/11/10 2:09, Dongjiu Geng wrote:
> Free memory mapping and free clk_data, if clock initialization
> is not successful.
>
> Fixes: 75af25f581b1 ("clk: hisi: remove static variable")
> Fixes: 62ac983b6141 ("clk: hisilicon: add hi3620_mmc_clks")
> Signed-off-by: Dongjiu Geng
> ---
Free memory mapping and free clk_data, if clock initialization
is not successful.
Fixes: 75af25f581b1 ("clk: hisi: remove static variable")
Fixes: 62ac983b6141 ("clk: hisilicon: add hi3620_mmc_clks")
Signed-off-by: Dongjiu Geng
---
drivers/clk/hisilicon/clk-hi3620.c | 8 ++--
drivers/clk/hi
3 matches
Mail list logo