clk: imx93: unmap anatop base in error handling path
authorPeng Fan <peng.fan@nxp.com>
Fri, 28 Oct 2022 09:52:06 +0000 (17:52 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Mon, 21 Nov 2022 20:40:53 +0000 (22:40 +0200)
commitbda7b7f396f94d8df89ecacc88f2826908e8762c
tree9acc1ce7f43c86eb743a4e1a10b524da647784b0
parented1f4ccfe947a3e1018a3bd7325134574c7ff9b3
clk: imx93: unmap anatop base in error handling path

The anatop base is not unmapped during error handling path, fix it.

Fixes: 24defbe194b6 ("clk: imx: add i.MX93 clk")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20221028095211.2598312-2-peng.fan@oss.nxp.com
drivers/clk/imx/clk-imx93.c