• Tomi Valkeinen's avatar
    OMAPFB: defer probe if no displays · dfbc3231
    Tomi Valkeinen authored
    omapfb requires the panel drivers to have been probed when omapfb is
    initialized. omapfb does not support insertion of new panels after its
    probe. This causes a problem in case omapdss or the panel probes have
    been deferred due to EPROBE_DEFER error, as omapfb won't find any
    displays.
    
    As a quick fix, this patch changes the omapfb probe so that if omapfb
    does not find any displays, it'll return EPROBE_DEFER. This is not
    perfect, as with a board with no displays, omapfb will get deferred
    forever. Also, if the board has multiple displays, but only some of them
    have been probed, omapfb will start and leave the unprobed displays out.
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    dfbc3231
omapfb-main.c 58.1 KB