]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fbdev: ep93xx-fb: Add missing clk_disable_unprepare in ep93xxfb_probe()
authorGaosheng Cui <cuigaosheng1@huawei.com>
Wed, 23 Nov 2022 09:29:43 +0000 (17:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:26:29 +0000 (13:26 +0100)
commitb5b51013b69670b2c379564794a1e057d7ae4e20
tree6b2a5f8594c77884b790e611b601244e80c6c46b
parent2f6329dbe16093aad29f71b3dcd3cb031dc9f9b6
fbdev: ep93xx-fb: Add missing clk_disable_unprepare in ep93xxfb_probe()

[ Upstream commit c84bf485a5aaf9aa0764a58832b7ef4375c29f03 ]

The clk_disable_unprepare() should be called in the error handling
of register_framebuffer(), fix it.

Fixes: 0937a7b3625d ("video: ep93xx: Prepare clock before using it")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/ep93xx-fb.c