summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-04-13 22:33:17 +0300
committerHelge Deller <deller@gmx.de>2023-04-24 12:48:33 +0300
commitb3a7a9ab65ae2f2626c7222fb79cdd433f8c5252 (patch)
tree1595e91e55969e340509fe3dbb1a146a03064d8c /tools/perf/scripts/python/export-to-sqlite.py
parentbfff83c4824308f7acce47baf88858b52bc1314f (diff)
downloadlinux-b3a7a9ab65ae2f2626c7222fb79cdd433f8c5252.tar.xz
fbdev: mmp: Fix deferred clk handling in mmphw_probe()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions