Home
last modified time | relevance | path

Searched hist:"27 c76c43623fe835a2b652228363ed108373609d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/samsung/
H A Dclk-exynos-audss.cdiff 27c76c43623fe835a2b652228363ed108373609d Mon Jan 05 03:52:41 CST 2015 Krzysztof Kozlowski <k.kozlowski@samsung.com> clk: exynos-audss: Fix memory leak on driver unbind or probe failure

The memory allocated by basic clock divider/gate/mux (struct clk_gate,
clk_divider and clk_mux) was leaking. During driver unbind or probe
failure the driver only unregistered the clocks.

Use clk_unregister_{gate,divider,mux} to release all resources.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>