mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
stable inclusion from stable-v5.10.195 commit eb33921806fca75bc33867bfbc976c7be4fa8294 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=eb33921806fca75bc33867bfbc976c7be4fa8294 -------------------------------- [ Upstream commit a5a88125 ] In fsmc_nand_resume(), the return value of clk_prepare_enable() should be checked since it might fail. Fixes: e25da1c0 ("mtd: fsmc_nand: Add clk_{un}prepare() support") Signed-off-by:Yi Yang <yiyang13@huawei.com> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230817115839.10192-1-yiyang13@huawei.com Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment