commit | 51e321fed0ff8d64eff809a4ee0547254cdcc4a1 | [log] [tgz] |
---|---|---|
author | Yang Yingliang <yangyingliang@huawei.com> | Wed Aug 25 09:42:14 2021 +0930 |
committer | Arnd Bergmann <arnd@arndb.de> | Thu Aug 26 11:31:22 2021 +0200 |
tree | 331ede2c00d3ed7efd8f1ec9a3444b08fd16fc86 | |
parent | 9664efeb5b869bbe6bf932b0957e9faaaaf6af5a [diff] |
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: 2f9b25fa6682 ("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>