• Ilya Yanok's avatar
    ARM: OMAP3: hwmod data: register dss hwmods after dss_core · 1d2f56c8
    Ilya Yanok authored
    dss_core has to be initialized before any other DSS hwmod. Currently
    this is broken as dss_core is listed in chip/revision specific hwmod
    lists while other DSS hwmods are listed in common list which is
    registered first.
    
    This patch moves DSS hwmods (except for dss_core) to the separate list
    which is registered last to ensure that dss_core is already registered.
    
    This solves the problem with BUG() in L3 interrupt handler on boards
    with DSS enabled in bootloader.
    
    The long-term fix to this is to ensure modules are set up in dependency
    order in the hwmod core code.
    
    CC: Tomi Valkeinen <tomi.valkeinen@ti.com>
    CC: Archit Taneja <archit@ti.com>
    CC: Paul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarIlya Yanok <yanok@emcraft.com>
    [paul@pwsan.com: add notes that this is just a temporary workaround until
     hwmod dependencies are added]
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    1d2f56c8
omap_hwmod_3xxx_data.c 95.3 KB