]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
authorMiaoqian Lin <linmq006@gmail.com>
Mon, 7 Mar 2022 07:29:47 +0000 (07:29 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Apr 2022 12:14:51 +0000 (14:14 +0200)
commit1fe97dab112d2feaadc5ec4fbc201804c0f0f39f
tree9e6de2d0186fa609f554da4bebc6a4e17a801d95
parent270b9e733f035af26cbccc7a0e3a7f5b005e7f3f
mfd: asic3: Add missing iounmap() on error asic3_mfd_probe

[ Upstream commit e84ee1a75f944a0fe3c277aaa10c426603d2b0bc ]

Add the missing iounmap() before return from asic3_mfd_probe
in the error handling case.

Fixes: 64e8867ba809 ("mfd: tmio_mmc hardware abstraction for CNF area")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220307072947.5369-1-linmq006@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/asic3.c