• Tomi Valkeinen's avatar
    OMAPFB: use EPROBE_DEFER if default display is not present · e9f322b4
    Tomi Valkeinen authored
    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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    e9f322b4
omapfb-main.c 57.8 KB