Skip to content
Commit 222b85e7 authored by Yi Yang's avatar Yi Yang Committed by Greg Kroah-Hartman
Browse files

mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()

[ 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: default avatarYi Yang <yiyang13@huawei.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230817115839.10192-1-yiyang13@huawei.com
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent eaf4c789
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment