projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a8d1d
)
fbdev: omapfb: fix some error codes
author
Dan Carpenter
<dan.carpenter@linaro.org>
Mon, 16 Oct 2023 11:19:52 +0000
(14:19 +0300)
committer
Helge Deller
<deller@gmx.de>
Mon, 16 Oct 2023 21:04:26 +0000
(23:04 +0200)
Return negative -ENXIO instead of positive ENXIO.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/omap/omapfb_main.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/omap/omapfb_main.c
b/drivers/video/fbdev/omap/omapfb_main.c
index f28cb90947a3412076a203368828044aa4241093..42c96f1cfc93c435ccf94154da2110bae0d4f082 100644
(file)
--- a/
drivers/video/fbdev/omap/omapfb_main.c
+++ b/
drivers/video/fbdev/omap/omapfb_main.c
@@
-1645,13
+1645,13
@@
static int omapfb_do_probe(struct platform_device *pdev,
}
fbdev->int_irq = platform_get_irq(pdev, 0);
if (fbdev->int_irq < 0) {
- r = ENXIO;
+ r =
-
ENXIO;
goto cleanup;
}
fbdev->ext_irq = platform_get_irq(pdev, 1);
if (fbdev->ext_irq < 0) {
- r = ENXIO;
+ r =
-
ENXIO;
goto cleanup;
}