Skip to content
Commit e71c69fc authored by Victor N. Ramos Mello's avatar Victor N. Ramos Mello Committed by Maxime Ripard
Browse files

drivers: clk: sunxi: Fix memory leakage in clk-sunxi.c



Fix a possible memory leak in sun4i_osc_clk_setup().
Moved clock-frequency check to save superfluous allocation.

Signed-off-by: default avatarVictor N. Ramos Mello <victornrm@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 8e6a4c40
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment