linux-hardened/drivers/video
Gustavo A. R. Silva 7588f1ecc5 video: fbdev: pxa3xx_gcu: fix error return code in pxa3xx_gcu_probe()
platform_get_irq() returns an error code, but the pxa3xx_gcu driver
ignores it and always returns -ENODEV. This is not correct and,
prevents -EPROBE_DEFER from being propagated properly.

Also, notice that platform_get_irq() no longer returns 0 on error:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af

Print and propagate the return value of platform_get_irq on failure.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-08-21 16:49:58 +02:00
..
backlight video: adp8870: move header file out of I2C realm 2017-07-06 08:58:39 +01:00
console fbcon: Make fbcon a built-time depency for fbdev 2017-08-01 17:32:07 +02:00
fbdev video: fbdev: pxa3xx_gcu: fix error return code in pxa3xx_gcu_probe() 2017-08-21 16:49:58 +02:00
logo video/logo: tidyup fb_logo_late_init initcall timing 2017-03-20 18:31:00 +01:00
display_timing.c
hdmi.c video: Add new aspect ratios for HDMI 2.0 2016-10-17 14:23:46 +02:00
Kconfig fbdev: sh_mipi_dsi: remove driver 2016-05-10 11:53:38 +03:00
Makefile fbdev: sti: don't select CONFIG_VT 2017-05-05 17:25:12 +02:00
of_display_timing.c video: fbdev: Convert to using %pOF instead of full_name 2017-08-07 17:22:13 +02:00
of_videomode.c video: fbdev: Convert to using %pOF instead of full_name 2017-08-07 17:22:13 +02:00
vgastate.c
videomode.c