OpenCloudOS-Kernel/drivers/video/omap2/omapfb
Tomi Valkeinen e9f322b491 OMAPFB: use EPROBE_DEFER if default display is not present
Currently omapfb returns EPROBE_DEFER if no displays have been probed at
the time omapfb is probed. However, sometimes some of the displays have
been probed at that time, but not all. We can't return EPROBE_DEFER in
that case, because then one missing driver would cause omapfb to defer
always, preventing any display from working.

However, if the user has defined a default display, we can presume that
the driver for that display is eventually loaded. Thus, this patch
changes omapfb to return EPROBE_DEFER in case default display is not
found.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2013-06-17 14:00:54 +03:00
..
Kconfig OMAPFB: use dma_alloc_attrs to allocate memory 2012-11-13 09:52:24 +02:00
Makefile OMAP: DSS2: omapfb driver 2009-12-09 12:12:44 +02:00
omapfb-ioctl.c OMAPDSS: add helpers to get mgr or output from display 2013-06-17 14:00:42 +03:00
omapfb-main.c OMAPFB: use EPROBE_DEFER if default display is not present 2013-06-17 14:00:54 +03:00
omapfb-sysfs.c Revert "OMAPFB: simplify locking" 2012-12-13 13:19:05 +02:00
omapfb.h Revert "OMAPFB: simplify locking" 2012-12-13 13:19:05 +02:00