Skip to content
Commit 3c5902d2 authored by Youling Tang's avatar Youling Tang Committed by Tony Lindgren
Browse files

ARM: OMAP2+: Fix memleak in omap2xxx_clkt_vps_init



If the clk_register fails, we should free hw before function returns to
prevent memleak.

Signed-off-by: default avatarYouling Tang <tangyouling@loongson.cn>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 3650b228
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment