fbdev: ep93xx-fb: fix return value check in ep93xxfb_probe
authorYuanjun Gong <ruc_gongyuanjun@163.com>
Mon, 17 Jul 2023 14:48:09 +0000 (22:48 +0800)
committerHelge Deller <deller@gmx.de>
Thu, 20 Jul 2023 05:52:55 +0000 (07:52 +0200)
commit9d5651ad2ae7b2ddfc56ff243a08937d9681f950
tree07e0b3c6e978e45e6feccb30181bcbbc20942aa6
parent4e88761f5f8c7869f15a2046b1a1116f4fab4ac8
fbdev: ep93xx-fb: fix return value check in ep93xxfb_probe

function clk_prepare_enable may fail in ep93xxfb_probe, therefore,
add a return value check to clk_prepare_enable and handle the
error.

Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/ep93xx-fb.c