diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2019-10-02 10:53:09 +0200 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2019-10-23 18:23:28 +0200 |
commit | faac3604d05e8015567124e5ee79edc3f1568a89 (patch) | |
tree | b6c07d8b0b11b16758c93bfa1b76514ed2064d16 /drivers/clk/samsung/clk-exynos-clkout.c | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | linux-faac3604d05e8015567124e5ee79edc3f1568a89.tar.bz2 |
clk: samsung: exynos5433: Fix error paths
Add checking the value returned by samsung_clk_alloc_reg_dump() and
devm_kcalloc(). While fixing this, also release all gathered clocks.
Fixes: 523d3de41f02 ("clk: samsung: exynos5433: Add support for runtime PM")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
[s.nawrocki: squashed patch from K. Kozlowski adding missing slab.h header]
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung/clk-exynos-clkout.c')
0 files changed, 0 insertions, 0 deletions