soc: sifive: ccache: fix missing iounmap() in error path in sifive_ccache_init()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 18 Oct 2022 02:31:47 +0000 (10:31 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Wed, 9 Nov 2022 22:01:31 +0000 (22:01 +0000)
commit73e770f085023da327dc9ffeb6cd96b0bb22d97e
treecd2bec565e969d8ff3a3cd87454c7cf77c4b8de4
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
soc: sifive: ccache: fix missing iounmap() in error path in sifive_ccache_init()

Add missing iounmap() before return error from sifive_ccache_init().

Fixes: a967a289f169 ("RISC-V: sifive_l2_cache: Add L2 cache controller driver for SiFive SoCs")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/soc/sifive/sifive_ccache.c