clk: qoriq: fix memory leak
If get_pll_div() fails we exited by returning NULL but we missed releasing hwc. Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org> Fixes: 0dfc86b3 ("clk: qoriq: Move chip-specific knowledge into driver") Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
Showing
想要评论请 注册 或 登录