aboutsummaryrefslogtreecommitdiff
path: root/lib/kunit
diff options
context:
space:
mode:
authorChristophe JAILLET2023-04-13 21:33:17 +0200
committerGreg Kroah-Hartman2023-05-11 23:03:31 +0900
commitae69d36d4635c9d364bf3fa9ddbe1e84e240e3f1 (patch)
tree6c6193492a4d754495cade2bb411cde67d096e4f /lib/kunit
parentce818ee162cf4b528f717bbab089eeb6b54ff428 (diff)
fbdev: mmp: Fix deferred clk handling in mmphw_probe()
[ Upstream commit b3a7a9ab65ae2f2626c7222fb79cdd433f8c5252 ] 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: 81b63420564d ("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>
Diffstat (limited to 'lib/kunit')
0 files changed, 0 insertions, 0 deletions