OpenCloudOS-Kernel/drivers/soc/aspeed
Yang Yingliang 51e321fed0
soc: aspeed-lpc-ctrl: Fix clock cleanup in error path
Move syscon_regmap_lookup_by_compatible() above the
devm_clk_get() to avoid missing clk_disable_unprepare().

Fixes: 2f9b25fa66 ("soc: aspeed: Re-enable FWH2AHB on AST2600")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210824085522.1849410-1-yangyingliang@huawei.com
Link: https://lore.kernel.org/r/20210825001214.3056193-1-joel@jms.id.au'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-08-26 11:31:22 +02:00
..
Kconfig soc: aspeed: Enable drivers with ARCH_ASPEED 2020-11-19 23:01:36 +10:30
Makefile soc: aspeed: Add soc info driver 2020-09-25 10:14:06 +09:30
aspeed-lpc-ctrl.c soc: aspeed-lpc-ctrl: Fix clock cleanup in error path 2021-08-26 11:31:22 +02:00
aspeed-lpc-snoop.c soc: aspeed: fix a ternary sign expansion bug 2021-04-23 11:16:47 +02:00
aspeed-p2a-ctrl.c soc: aspeed: p2a-ctrl: Fix boundary check for mmap 2021-08-17 18:00:44 +09:30
aspeed-socinfo.c soc: aspeed: socinfo: Add AST2625 variant 2021-08-19 13:51:29 +09:30