diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2020-08-10 02:11:58 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-10-14 06:02:39 +0300 |
commit | f6c992ca7dd4f49042eec61f3fb426c94d901675 (patch) | |
tree | 796a9232b576cb48ad9278ce18dca3f20d6ca2d5 /drivers/pinctrl/sh-pfc/Makefile | |
parent | 4ceb4b6bd286cef772061353b03e901bd7dd7a12 (diff) | |
download | linux-f6c992ca7dd4f49042eec61f3fb426c94d901675.tar.xz |
clk: bcm2835: add missing release if devm_clk_hw_register fails
In the implementation of bcm2835_register_pll(), the allocated pll is
leaked if devm_clk_hw_register() fails to register hw. Release pll if
devm_clk_hw_register() fails.
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Link: https://lore.kernel.org/r/20200809231202.15811-1-navid.emamdoost@gmail.com
Fixes: 41691b8862e2 ("clk: bcm2835: Add support for programming the audio domain clocks")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/Makefile')
0 files changed, 0 insertions, 0 deletions