OpenCloudOS-Kernel/drivers/video/fbdev/omap2/omapfb
Arvind Yadav 0348aaa344 omapfb: dss: Handle return errors in dss_init_ports()
dss_init_ports() is not handling return errors from dpi_init_port() and
sdi_init_port(). It is also always returning 0 currently which results in
part of error handling code in dss_bind() being unused.

Fix dss_init_ports() to handle return errors from dpi_init_port() and
sdi_init_port().

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: tomi.valkeinen@ti.com
[b.zolnierkie: fail early on errors, minor fixups]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-03-20 18:30:59 +01:00
..
displays sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
dss omapfb: dss: Handle return errors in dss_init_ports() 2017-03-20 18:30:59 +01:00
Kconfig omapfb: move vrfb into omapfb 2015-12-29 11:07:47 +02:00
Makefile omapfb: move vrfb into omapfb 2015-12-29 11:07:47 +02:00
omapfb-ioctl.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
omapfb-main.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
omapfb-sysfs.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
omapfb.h dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
vrfb.c omapfb: move vrfb into omapfb 2015-12-29 11:07:47 +02:00