Commit 845865d7 authored by Yang Yingliang's avatar Yang Yingliang Committed by Zheng Zengkai
Browse files

mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()

stable inclusion
from stable-5.10.50
commit c183b55ed7e5f59b2c509b7bc5b853e7c3b9e9e4
bugzilla: 174522 https://gitee.com/openeuler/kernel/issues/I4DNFY

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c183b55ed7e5f59b2c509b7bc5b853e7c3b9e9e4



--------------------------------

[ Upstream commit ae94c495 ]

Add clk_disable_unprepare() on error path in marvell_nfc_resume().

Fixes: bd9c3f9b ("mtd: rawnand: marvell: add suspend and resume hooks")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210601125814.3260364-1-yangyingliang@huawei.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 8d1c104f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment