]> git.ipfire.org Git - thirdparty/u-boot.git/commit
clk: imx: Free pll on error path
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Wed, 23 Jul 2025 16:32:45 +0000 (17:32 +0100)
committerFabio Estevam <festevam@gmail.com>
Thu, 7 Aug 2025 11:13:17 +0000 (08:13 -0300)
commitb65ea8534fc9d59e9742e76820d03f6783db3cf5
tree45046451df782240badc61e89e9d59ed94e2d477
parent3526f990b77fca1c933f1d8b24eb9385010a05bf
clk: imx: Free pll on error path

For an unknown pll type the error path neglects to free the memory just
allocated. Add the free.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
drivers/clk/imx/clk-pll14xx.c