Home
last modified time | relevance | path

Searched hist:"4 e3c021fb995bcbb5d1f814d00584cb80eb904a8" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/clk/
H A Dclk-gate.cdiff 4e3c021fb995bcbb5d1f814d00584cb80eb904a8 Mon Jan 05 03:52:40 CST 2015 Krzysztof Kozlowski <k.kozlowski@samsung.com> clk: Add clk_unregister_{divider, gate, mux} to close memory leak

The common clk_register_{divider,gate,mux} functions allocated memory
for internal data which wasn't freed anywhere. Drivers using these
helpers could only unregister clocks but the memory would still leak.

Add corresponding unregister functions which will 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>
H A Dclk-mux.cdiff 4e3c021fb995bcbb5d1f814d00584cb80eb904a8 Mon Jan 05 03:52:40 CST 2015 Krzysztof Kozlowski <k.kozlowski@samsung.com> clk: Add clk_unregister_{divider, gate, mux} to close memory leak

The common clk_register_{divider,gate,mux} functions allocated memory
for internal data which wasn't freed anywhere. Drivers using these
helpers could only unregister clocks but the memory would still leak.

Add corresponding unregister functions which will 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>
H A Dclk-divider.cdiff 4e3c021fb995bcbb5d1f814d00584cb80eb904a8 Mon Jan 05 03:52:40 CST 2015 Krzysztof Kozlowski <k.kozlowski@samsung.com> clk: Add clk_unregister_{divider, gate, mux} to close memory leak

The common clk_register_{divider,gate,mux} functions allocated memory
for internal data which wasn't freed anywhere. Drivers using these
helpers could only unregister clocks but the memory would still leak.

Add corresponding unregister functions which will 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>
/openbmc/linux/include/linux/
H A Dclk-provider.hdiff 4e3c021fb995bcbb5d1f814d00584cb80eb904a8 Mon Jan 05 03:52:40 CST 2015 Krzysztof Kozlowski <k.kozlowski@samsung.com> clk: Add clk_unregister_{divider, gate, mux} to close memory leak

The common clk_register_{divider,gate,mux} functions allocated memory
for internal data which wasn't freed anywhere. Drivers using these
helpers could only unregister clocks but the memory would still leak.

Add corresponding unregister functions which will 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>