Wind River Support Network

HomeDefectsLIN1021-3726
Fixed

LIN1021-3726 : Duplicated code in file "drivers/phy/ti/phy-j721e-wiz.c"

Created: Jun 6, 2022    Updated: Jun 9, 2022
Resolved Date: Jun 7, 2022
Found In Version: 10.21.20.5
Fix Version: 10.21.20.13
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: BSP

Description

Duplicated code in file "drivers/phy/ti/phy-j721e-wiz.c"

static void wiz_clock_cleanup(struct wiz *wiz, struct device_node *node)
of_node_put(clk_node);
}
..................
for (i = 0; i < wiz->clk_div_sel_num; i++)

 { 

clk_node = of_get_child_by_name(node, clk_div_sel[i].node_name); 

 of_clk_del_provider(clk_node); 

 of_node_put(clk_node); 

}
............
Live chat
Online