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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:14 +0000 (13:32 +0100)
commita1981f67d57e3a3b97c933e3066d96eddd4f624a
tree0b98b100ba5254b5f865b0b2c1e1d1d187be0c1e
parent1372f4f6fcb19d4e9c69d00c6f919163823bf785
clk: imx93: unmap anatop base in error handling path

[ Upstream commit bda7b7f396f94d8df89ecacc88f2826908e8762c ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imx/clk-imx93.c