linux-stable/drivers/video
Christophe JAILLET 2994b153d6 fbdev: mmp: Fix deferred clk handling in mmphw_probe()
[ Upstream commit b3a7a9ab65 ]

When dev_err_probe() is called, 'ret' holds the value of the previous
successful devm_request_irq() call.
'ret' should be assigned with a meaningful value before being used in
dev_err_probe().

While at it, use and return "PTR_ERR(ctrl->clk)" instead of a hard-coded
"-ENOENT" so that -EPROBE_DEFER is handled and propagated correctly.

Fixes: 81b6342056 ("fbdev: mmp: Make use of the helper function dev_err_probe()")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:11:24 +09:00
..
backlight - Fix-ups 2022-12-21 09:24:39 -08:00
console fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
fbdev fbdev: mmp: Fix deferred clk handling in mmphw_probe() 2023-05-11 23:11:24 +09:00
logo
Kconfig drm: Move nomodeset kernel parameter to drivers/video 2022-11-16 13:26:12 +01:00
Makefile drm: Move nomodeset kernel parameter to drivers/video 2022-11-16 13:26:12 +01:00
aperture.c fbdev/core: Avoid uninitialized read in aperture_remove_conflicting_pci_device() 2022-10-27 09:20:05 +02:00
display_timing.c
hdmi.c video/hdmi: Add audio_infoframe packing for DP 2022-09-04 15:31:59 +03:00
nomodeset.c drm: Move nomodeset kernel parameter to drivers/video 2022-11-16 13:26:12 +01:00
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c